Hi,
I am using Infragistics v8.2 my question is how to hide columns of ultrawebgrid at runtime?
Based on user selection i have to hide some columns
How to do this?
Is There any event to do this?
Regards
Sivaprasad
hi i have also ultra grid and i hide the id column in my ultragrid please see my below source code i hope that will be helpful to u
http://ahmadkhalid44.blogspot.com/2013/05/work-on-ultra-grid.html
thanks
Hello,
Sure this is possible, one possible approach is
UltraWebGrid1.Columns.FromKey("CustomerID").Hidden = true;
However, there is one thing that may causes problem - the page lifecycle. When the grid rebinds, all colunms and row infomration is lost and data is loaded again, so you need to be sure that when you call the code above, your grid should already be bound with data and not rebound (reset) at a later point prior to showing the grid on the page.