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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to group on a continuously-valued column by value ranges?

Thread ID:





56116 Feb 9,2007 02:47 PM UTC Feb 9,2007 03:36 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 9, 2007 02:47 PM UTC

I know the Subject is not really understandable, so let me elaborate...

let's say i have a 'Price' column in a GGC, and the value of prices varies between 80 to 110. i want to specify three price ranges: (80, 90), (90, 100), and (100, 110), then group all the records based on the ranges. So after the grouping, the grid will show three groups for each range, and the records will fall into each group based on the value of its price.

is there an easy way to accomplish this? thanks,


Administrator [Syncfusion]
Replied On February 9, 2007 03:36 PM UTC

Hi Frank,

One way you can do this is to add an Expression column to your GridGroupingControl where the expression accepts a value and then returns a groupID value that identifies values between 80 to 90 with the same ID, values 90-100 with another ID, and so on. Here is a KnowledgeBase article that shows you "How to create custom group in a GridGroupingControl?".


Best regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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