Hi Nimish,
Thank you for evaluating Syncfusion products.
Essential studio Volume 3 RC is available for download from the following location.
We request you to use our latest version. It is more stable with many new features.
http://www.syncfusion.com/support/forums/general/86322/essential-studio-2009-vol3-rc-v73018-available-for-download Paging
Paging can be performed in the clientside using the following API
set_currentIndex(pageNumber);
Note: AllowPaging Server side property should be enabled to make this work.
Please refer the following code snippet for Paging:
Controller
[C#]
GridPropertiesModel gridModel= new GridPropertiesModel();
gridModel.DataSource = new StudentDataContext().Student;
gridModel.AllowPaging = true;
gridModel.PrimaryKeyColumns.Add("CourseID");
View
[JavaScript]
/// find the clientside object with the Grid Id “Grid1“
var gridObject= $find("Grid1");
/// page number 10 is provided as parameter.
gridObject.set_currentIndex(10);
Sorting
Sorting can be performed in the clientside using the following API
• DoSorting(ColumnName, Direction)
• Set_AllowSorting(true\false)
Please refer the following code snippet for Sorting
Controller
[C#]
GridPropertiesModel gridModel= new GridPropertiesModel();
gridModel.DataSource = new StudentDataContext().Student;
gridModel.PrimaryKeyColumns.Add("CourseID");
View
[JavaScript]
/// find the clientside object with the Grid Id “Grid1“
var gridObject = $find("Grid1");
gridObject.set_AllowSorting(true);
/// Title column is sorted in Descending Order
element.DoSorting(“Title”,”Descending”);
Grouping
Grouping can be performed in the clientside using the following API
set_AllowGrouping(true/false)
GroupBy(columnName)
UnGroupBy(columnName)
Please Refer the following Code snippet for Grouping
Controller
[C#]
GridPropertiesModel gridModel= new GridPropertiesModel();
gridModel.DataSource = new StudentDataContext().Student;
gridModel.PrimaryKeyColumns.Add("CourseID");
View
[Jscript]
/// find the clientside object with the Grid Id “Grid1“
var gridObject = $find("Grid1");
///Enable Grouping
gridObject.set_AllowGrouping(true);
/// Grid is grouped by CGPA column.
gridObject.GroupBy(CGPA);
/// Used for un grouping the grouped column
gridObject.UnGroupBy(CGPA);
Note: Group Drop Area will not be created when grouping enabled is from the client side. A column grouped by code wont be added in Group Drop area.
Binding Datasource for Each Time
As per the MVC Architecture, we are not persisting the data source. So it should be binded every time.
Filtering
we regret to let you know that currently we don’t support filtering. This feature can be expected in our Volume 4 release.
Please let us know if this helps you.
Thanks,
Muthukumar.L