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.
Syncfusion Feedback

Grid summary based on filter option

Thread ID:

Created:

Updated:

Platform:

Replies:

102381 Jan 25,2012 04:15 PM UTC Jan 31,2012 01:01 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
harry tackey-otoo
Asked On January 25, 2012 04:15 PM UTC

How do i display summary for various filter options when all default values are loaded by the grid.


Yogeshwaran [Syncfusion]
Replied On January 31, 2012 01:01 PM UTC


Hi Harry,

Thanks for using Syncfusion products.

Your requirement to get the filter options can be achieved by using record filter changing event .Please refer the following code snippet.

[Codebehind –C#]


void RecordFilters_Changing(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)
{
RecordFilterDescriptor Filter = e.Item as RecordFilterDescriptor;
String LogicalOpertor = Filter.LogicalOperator.ToString();
String ColumnName = Filter.Name;

FilterConditionCollection Condition = Filter.Conditions as FilterConditionCollection;
string CompareText = Condition[Condition.Count - 1].CompareValue.ToString();
string CompareOperator = Condition[Condition.Count - 1].CompareOperator.ToString();


}



For your convenience, we have created the sample and the same can be downloaded from below link.

GridSearchBox1607166683.zip

Please let us know if you have any concerns.

Regards,
Yogesh R


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.

Warning Icon 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.Close Icon

;