Skip to content

Infragistics Community Forum / Web / Ignite UI for Angular / Hide IgxGrid Vertical Scrollbar and Show All Rows

Hide IgxGrid Vertical Scrollbar and Show All Rows

New Discussion
mariyam barveen
mariyam barveen asked on Apr 6, 2020 7:06 AM

Hi Team ,

We are using Igx-grid on our application.and we do not want to show the vertical scrollbar on our grid so that we can show all rows. Can you please help on this ?

Sign In to post a reply

Replies

  • 0
    Svetoslav Krastev
    Svetoslav Krastev answered on Mar 27, 2020 12:21 PM

    Hello Mariyam,

    You can set the height of the grid to `null`, which will render all rows without displaying vertical scrollbar.

    One thing to note though, in this case, the grid virtualization is not applied and if you have too many rows you might have performance issues.

    Also we have a topic regarding the grid sizing and different scenarios, if you need more information on this:
    https://es.infragistics.com/products/ignite-ui-angular/angular/components/grid/sizing.html

    Regards,
    Svetoslav

    • 0
      mariyam barveen
      mariyam barveen answered on Mar 27, 2020 4:05 PM

      Hi Svetoslav,

      I am giving my parent height as 100%,and grid height as null , but still facing the same issue.

      It will be helpful if you provide any sample codes please…

      Regards,

      Mariyam

      • 0
        Svetoslav Krastev
        Svetoslav Krastev answered on Mar 31, 2020 12:56 PM

        Hello Mariyam,

        Having height 100% on the parent element shouldn't affect the grid. Are you sure the scrollbar you are seeing is not coming from the parent element?

        Here's an example I have made for that demonstrates the grid having height null:
        https://stackblitz.com/edit/angular-w7svkc 

        If you have any questions regarding the sample let me know.

        Regards,
        Svetoslav

      • 0
        mariyam barveen
        mariyam barveen answered on Apr 3, 2020 10:57 AM

        Hi Svetoslav,

        I was giving as [height]=" 'null'  ",now I corrected ,Thank you so much 

        Regards,

        Mariyam

      • 0
        Vasya Kacheshmarova
        Vasya Kacheshmarova answered on Apr 6, 2020 7:06 AM

        Hello,

        I am glad that you managed to achieve your requirement.

        Thank you for using Infragistics components.

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
mariyam barveen
Favorites
0
Replies
5
Created On
Apr 06, 2020
Last Post
5 years, 10 months ago

Suggested Discussions

Created by

Created on

Apr 6, 2020 7:06 AM

Last activity on

Feb 11, 2026 9:06 PM