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. Image for the cookie policy date

Filtering not working on primary key in Syncfusion grid

Hi

I have developed one sample application.When I set filtering on primary key column its not work properly.

Is there any property or function for that?

Regards,
Hardik B. Mistry


1 Reply

ES Eswari S Syncfusion Team December 12, 2011 10:47 AM UTC

Hi Hardik,

Thank you for using Syncfusion products.

Query #1 : Is there any property or function for that?

We are sorry for the inconvenience caused. We were unable to reproduce the issue. We have prepared the video demonstrating the working of the sample and the same can be downloaded from the following link.

Sample Link:

http://www.syncfusion.com/downloads/Support/DirectTrac/88486/Sample1212347451.zip

Note: If you want to run the sample in MVC3, change the configuration manager as Debug_MVC3/Release_MVC3.To briefly know about that steps please kindly refer this document link.

How to Switch between MVC2 to MVC3

It is enough to Call EnableFiltering() to enable to filtering option.

Please refer to the following code snippets:

<%=Html.Syncfusion().Grid("OrdersGrid")
.Datasource(Model)
. . . .
.Column(col =>
{
col.Add(c => c.OrderID); // primary key
col.Add(c => c.CustomerID);

})
.EnablePaging()
.EnableSorting()
// to enable filtering
.EnableFiltering()

.AutoFormat(Skins.Sandune)
.EnableGrouping()

%>

Also , we would request you to check the following online UG link:

http://help.syncfusion.com/ug_94/User%20Interface/ASP.NET%20MVC/Grid/default.htm?turl=Documents%2Fthroughgridbuilder9.htm

Video Link:

http://www.syncfusion.com/downloads/Support/DirectTrac/88486/Video-549012050.zip


Could you please try the above sample and get back to us whether you are able to reproduce the issue? If not, could you please give more information so that we could sort out the issue and provide you with solution.

The information provided would be of great help in resolving the issue.

Please try this and let us know if you need any further assistance.

Regards,
Eswari.S





Loader.
Live Chat Icon For mobile
Up arrow icon