Hi, I'm using WebDataGrid without setting any width to the grid or columns because I want the columns to increase/decrease their size accordingly to fit the contents of the data.
However it's not working for some of my columns. The header text either gets cut off for columns that has no data or wraps around even though I've set "white-space:nowrap" in igg_HeaderCaption.
Is there a place where I can set "table-layout:auto" to the grid header table?
Thanks!
Any solution to that? UltraWebGrid could do it - how do we do it in WebDataGrid?Help please.
The same question here.I want that the columns autosize automatically on the width of the data including the column headers.And i want the grid to have a width of 100%
In the Ultrawebgrid this is done automatically.If this can't be done, this grid is useless for us and many more other people. DisplayLayout
DisplayLayout
Width="100%"
UltraWebGrid1.DisplayLayout.TableLayout = Infragistics.WebUI.UltraWebGrid.TableLayout.Auto
Found a solution: http://codecorner.galanter.net/2010/11/15/auto-size-columns-in-infragistics-webdatagrid/
And here is an improved approach to column auto-sizing, that also works for WebHierarchicalDataGrid
If Infragistics is reading this, can someone please submit a feature request to accomplish this without a hack?
This is an attribute that I would want on virtually all of my implementations of WebDataGrid.