All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hi ,
How can I find out which columns are visible in a server-side routine (some columns may have been shown/hidden with the header context menu)?
List<GridColumn> columns =
new
List<GridColumn>();
foreach
(GridColumn column
in
RadGrid1.MasterTableView.RenderColumns)
{
if
(column.Display ==
true
&& column.Visible)
columns.Add(column);
}
Hi
I have tried by it show all the columns, my scenerio is , user has hidden some columns from column menu. and i need to get the columns which are currently visible