Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Is it possible to prevent igx-grid from showing the horizontal scroll bar?

We have a grid where we want to allow the users to resize columns, but we never want to show the horizontal scroll bar as a result of this.

Is this even possible?

  • 1560
    Offline posted


    I have been looking into your question and in order to remove the horizontal scrolling of the grid, an approach I could suggest is to set the grid's width to null as follows:

      <igx-grid height="500px" [width]="null">

    However, please note that this way all columns would be rendered in the DOM, the column virtualization is not applied and the grid sizes accordingly which means that on column resize the grid's width would be changed:

    Here could be found a small sample that demonstrates this approach. Please test it on your side and let me know if I may be of any further assistance.

    Teodosia Hristodorova
    Software Developer