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.

Filtering on GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

93571 Mar 22,2010 05:59 AM Mar 30,2010 11:48 PM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Alban FAVEROT
Asked On March 22, 2010 05:59 AM

Hello,
I would like to filter the data displayed in the grid by adding a pre-selected value but i would like to let the user be able to select the other possible values.

When i add a condition on the filtering , the other possible values are not available, i see only the Status that i have filtered.

GridRecordFilterDescriptor gfd = new GridRecordFilterDescriptor();
gfd.Name = "Status";
gfd.Conditions.Add(Syncfusion.Grouping.FilterCompareOperator.Equals, "1");
this.GridGroupingControl1.TableDescriptor.GridRecordFilters.Add(gfd);





filter_grid_e0067370.zip

Jaffersathick B [Syncfusion]
Replied On March 30, 2010 11:48 PM

Hi Alban,

Thank you for your interest in Syncfusion products.



The default behaviour of the filter bar cell is it will show all the possible unique record values from the whole datatable . Eventhough you have filtered the records it will show the possible values for the whole datasource of the GridGroupingControl.


Please refer the sample from the below link:


http://samples.syncfusion.com/ASPNET/8.1.0.30/web/Grid.Grouping.Web/samples/3.5/Filtering/ComboBoxTextCell/cs/FilterBarDemo.aspx?args=5



Let me know if you have any other concerns.


Regards,
Jaffer.B

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.

;