Hi Infragistics,
I'm using the igGrid component with JQuery and HTML, I supply the datasource using a javascript array.
I supply the Columns with width percentages and I supply column hiding information. The hidden columns are remembered in a cookie and supplied to the grid using the column hiding feature.
When I have some hidden columns, I find that Infragistics is increasing the percentage of the Last column to make the total of all column equals to 100%. This means that my last column becomes dis-proportionately bigger than all the other columns... I have no control over this...
I can think of 2 potential solution approaches but they would require updates from Infragistics:
1) Allow the Last Column percentage re-sizing to be disabled. (Browsers have the smarts to automatically figure out column widths)
2) Instead of Infragistics re-sizing just the last column, it could re-size all visible columns proportionally.
-Clive
Hello Alex,
Thank you for posting in our community.
I have created a sample regarding your query. Three grids are included in it as follows: grid1 contains only one hidden column, grid2 contains two hidden columns and grid3 correspondingly contains three hidden columns. I have not set manually column sizes and in each of the three cases columns have proportional widths.
Feel free to modify the sample if needed. Please let me know if this helps. If the undesired behavior persists any code snippets or samples would be appreciated in order to test further this scenario.
Hi Dimka,
Thank you for your reply. I have modified the sample to demonstrate the issue I'm having. I've added the width percentages for each column and turned on the column hiding feature to demonstrate the behavior we're experiencing.
I have attached the modified sample.