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
715
Two Grid Questions
posted

Hello,

I have two questions about igGrid:

  1. is it possible to have images in row headers instead of text?
  2. is it possible for the grid to scroll in such a way that the row headers remain visible?  I can put the grid in a scrollable div but of course the row header will move out of view when the div is scrolled.

Thank You!

 

Randy

Parents
No Data
Reply
  • 37874
    posted

    Hello Randy, 

    There is no currently built-in functionality allowing for placing images in the column headers. A possible solution would be to iterate through all header elements and append the corresponding image. You can select all headers with jQuery like this:  $('.ui-iggrid-header.ui-widget-header')

    You can make the grid headers fixed by setting the "fixedHeaders" option of the grid to true (it is the default value): http://help.infragistics.com/jQuery/2013.1/ui.iggrid#options

    Please let me know if you have any other questions.

Children