Hi ,
I m new to Infragistics and using WebHierarchicalDataGrid first time, i m binding data to grid , data in each cell is breaking into lines whereas i want data in single line in each cell not in multpile line how to do this using css. i am using WebHierarchicalDataGrid in multiple pages so i m using a css page to set default styles for all WebHierarchicalDataGrid.
Thanks
Hello,
I am just following up to see if you need any further assistance with this issue. If so please let me know.
Hello Ravi,
word-wrap in this case is css class where you can specify and set any css property you want.
Setting styles inline is a bad practice please refer to the following thread => http://stackoverflow.com/questions/2612483/whats-so-bad-about-in-line-css.
Hi
how to set it inline style for WebHierarchicalDataGrid can u pls specify where to set n how to set
If your browser supports css property word-wrap, so will the grid do. You can set word wrap for all columns as you specify the same class for them like in the given sample.
1 2 3 4
foreach (var column in this.WebHierarchicalDataGrid.Columns) { column.CssClass = "word-wrap"; }
Hi Denis Georgiev,
One last clarification required will word wrap supports for WebHierarchicalDataGrid ? if yes please let me know. i don't want to use the width for all the columns , just want to use word-wrap. how to set word wrap for all columns pls.