Hi,
I have many columns in my igGrid and they are getting shrunk to fit the div the grid is inside of. I was wondering if it's possible for igGrid to add a horizontal bar instead of shrinking the columns? Also is it possible for igGrid to automatically set the correct column width for each column so that all the text is visible? The data is dynamic so I have the autoGenerateColumns set to true.
Thanks,
Armando
Hello Armando,
In order the grid to get horizontal scrollbar, you should set columns width, so that it exceeds the grid width: http://help.infragistics.com/jQuery/2015.1/ui.iggrid#options:columns.width
or set defaultColumnWidth that will be set for all columns: http://help.infragistics.com/jQuery/2015.1/ui.iggrid#options:defaultColumnWidth. If you don't specify any columns width explicitly, the grid will automatically calculate such one based on the overall grid width, however this does not mean that the columns won't be shrink and their content will be visible. Therefore I suggest you to set columns width manually during grid initialization. If you have further question, please let me know.
Regards,
Tsanna