We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Grouping,Sorting and Filtering in syncfusion MVC grid with Page on Demand

Thread ID:

Created:

Updated:

Platform:

Replies:

109875 Jul 9,2013 03:16 AM Jul 16,2013 05:28 AM ASP.NET MVC (Classic) 1
loading
Tags: Grid
Ling Lin
Asked On July 9, 2013 03:16 AM

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".


Satheeskumar S [Syncfusion]
Replied On July 16, 2013 05:28 AM

Hi Ling Lin,

 


Thanks for your interest in Syncfusion products.

 

Query-1 Sorting and Filtering in OnDemandPaging

We suggest you to use our Online Sample and Online Documentation for EnableOnDemand. Please visit the below links.

Online Sample- http://mvc.syncfusion.com/demos/ui/grid/DataBinding/CustomBinding

Online documentation- http://help.syncfusion.com/ug/asp.net%20mvc/grid/default.htm#!documents/custombinding.htm

For your convenience we have prepared a sample. Could you please use this sample and get back to us if you have any other queries.

Sample-


Query-2 Grouping in OnDemandPaging

We are sorry for the inconvenience caused. Currently our product doesn’t support this feature [“Grouping in OnDemandPaging”].

 

Please let us know if you have any Other Concerns.

 

 

Regards,

Satheeskumar S



OnDemandFiltering_55154079.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;