This question is locked. New answers and comments are not allowed.
Hi,
I am using Telerik Extensions for ASP.NET MVC: Grid control.
I am able to hide a particular column by setting its HTML attributes (Style:display:none), but then I noticed that the columns sorting is done as selected column - 1. Means if I try to sort on 4th columns, then actually data is getting sroted on 3rd column.
Below is code for same,
I am using Telerik Extensions for ASP.NET MVC: Grid control.
I am able to hide a particular column by setting its HTML attributes (Style:display:none), but then I noticed that the columns sorting is done as selected column - 1. Means if I try to sort on 4th columns, then actually data is getting sroted on 3rd column.
Below is code for same,
columns.Add(c => c.CalculationID).Title(
"Calculated ID").Sortable(false).HeaderHtmlAttributes(new {@style="display:none;"}).HtmlAttributes(new {@style="display:none;"});