Hi,
we are implementing “Page On Demand” feature in Essential Grid For Mvc4.
Along With “Page on demand” we have a requirement of implementing Grouping ,Sorting and filtering in our Grid.
We have set the “AllowGrouping” property to “true” in grid and tried to access “GroupDescriptors” property from “GridGrouping” class on post back, while grouping is performed on Grid .But Unfortunately, we are getting the “GroupDescriptors ” count as zero and “AllowGrouping ” property as false.
View:-
--------
@(Html.Syncfusion().Grid<Student>("GenericListGrid")
.Datasource(Model)
.EnableSorting() /*Sorting Enabled*/
.EnablePaging() /*Paging Enabled*/
.EnableGrouping() /*Grouping Enabled*/
.Grouping(group => group.AllowGrouping(true))
.EnableOnDemand()
.TotalRecordCount(Convert.ToUInt32(TempData["totalRecordCount"]))
...
...
...
);
Controller:-
-----------------
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult GridFeatures(PagingParams args, FormCollection col, StudentData model, GridGrouping group)
{
------------
------------
------------
}
So,can you please provide us a Sample application to implement Grouping,Sorting and Filtering with "Page On Demand".