This question is locked. New answers and comments are not allowed.
Hi, in the exemple project for Grouping I change the code like this :
Now if i try to move grouping block , i have a javascript error : title is null or is not an object (translate from French)
If Visible is true, no error is throw.
How can i have this error fix please?
Thx for the answer
<%= Html.Telerik().Grid<Order>(Model) .Name("Grid") .Columns(columns => { columns.Bound(o => o.OrderID).Width(100); columns.Bound(o => o.Customer.ContactName).Width(200).Visible(!(bool)ViewData["contactName"]); //Make the columns not visible if it's group columns.Bound(o => o.ShipAddress).Visible(!(bool)ViewData["shipAddress"]);//Make the columns not visible if it's group
columns.Bound(o => o.OrderDate).Format("{0:MM/dd/yyyy}").Width(120).Visible(!(bool)ViewData["orderDate"]);//Make the columns not visible if it's group
}) .Groupable(settings => settings.Groups(groups => { if ((bool)ViewData["orderDate"]) { groups.Add(o => o.OrderDate); } if ((bool)ViewData["shipAddress"]) { groups.Add(o => o.ShipAddress); } if ((bool)ViewData["contactName"]) { groups.Add(o => o.Customer.ContactName); } })) .DataBinding(dataBinding => dataBinding.Ajax().Select("GroupingAjax", "Grid")) .Scrollable() .Sortable() .Pageable() .Filterable()%>Now if i try to move grouping block , i have a javascript error : title is null or is not an object (translate from French)
If Visible is true, no error is throw.
How can i have this error fix please?
Thx for the answer