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
80
Implementing scroll bar in the left side of IgGrid
posted

I tried implementing the scroll bar in the left side of the igGrid. I used the following code :

$("#Grid1_scroll").css("direction", "rtl");

  $("#Grid1").css("direction", "ltr");

After implementing the above code the alignment between the header and rows of the grid got misaligned. Can someone let me know how to fix this?

Is there any other way out to implement the scroll bar to the left of the grid?

Parents
No Data
Reply
  • 25665
    Offline posted

    Hello Dipannita,

    Thank you for contacting Infragistics!

    The reason the header are misaligned with the columns is the grid expects the scroll bar to be on the right so it doesn’t compensate for it when it is on the left. You can compensate for it by adding a margin-left to the ui-iggrid-headertable CSS class. When I run this a margin-left of 20px seems to work you will want to test this to see if this makes your headers and columns line up.

    Please let me know if you have any further questions concerning this matter.

Children