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.

How to Group a Column based on Format?

By default, a column will be grouped by the data or value present for the particular row. To group numeric or datetime column based on the mentioned format, you have to enable the enableGroupByFormat property of the corresponding Grid columns.

 

HTML

 

 

JS

 

 

Razor

 

 

 

Controller

 

 

Aspx

 

 

 

The following screenshot shows the Columns Grouped on the basis of the Column format.

Figure 1: Grid with Freight Column Grouped based on the format though actual values differs

 

Figure 2: Grid with OrderDate Column Grouped based on the format though actual values differs

Article ID: Published Date: Last Revised Date: Platform: Control:
7176 12/19/2016 12/19/2016 JavaScript ejGrid
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.