Hi,
Is there any property that I can set to the web grid, which could always make the columns inside the grid to occupy the whole width of the grid always, even when I change the width of the web grid at runtime. I actually have this web grid inside the web splitter panel. When I have the splitter to collapse, I could see the columns in the grid shrinked down with some blank spaces at the end. But when the splitter is not collapse the columns at the grid fill the whole grid. But I always want the columns to fill the width of the whole grid. Please let me know how I can achieve this.
Thanks - Sethu
Hi Rumen
the link seems to be broken...
kind regards
Peter
Hello Sethu.
I am not sure this is something that the grid supports out of the box, but you can probably try something manually with custom javascript. You can use the client-side object model of the grid (CSOM) to locate the columns you need and resize them based on your runtime criteria using the setWidth method.
More information on the UltraWebGrid CSOM API for Columns can be found here:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR3.5/html/WebGrid_Column_Object_CSOM.html