6 Answers, 1 is accepted
0
Hello Isha,
By default in order to group any data it needs to be sorted first. This is why when grouping the records in a Grid the data is sorted by the grouping field.
With that said, other fields will not be sorted out of the box. When sorting is applied there the fields in each group will be sorted.
Regards,
Viktor Tachev
Progress Telerik
By default in order to group any data it needs to be sorted first. This is why when grouping the records in a Grid the data is sorted by the grouping field.
With that said, other fields will not be sorted out of the box. When sorting is applied there the fields in each group will be sorted.
Regards,
Viktor Tachev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Isha
Top achievements
Rank 1
answered on 25 Sep 2018, 04:55 AM
But I want to stop default sorting in groups. Is there any way to stop default sorting in group for grouped kendo grid?
I might want to display different categories on the basis of its sale amount, not by their alphabetic order.
for example:
I might want to display Pizza's, Burgers, Cold Drink's in following order, depending on some other field containing Order #.
0
Hi Isha,
Out of the box the groups will use alphabetical sort order. If you would like to use a different order for the Groups you can consider one of the approaches described in the following post.
Regards,
Viktor Tachev
Progress Telerik
Out of the box the groups will use alphabetical sort order. If you would like to use a different order for the Groups you can consider one of the approaches described in the following post.
Regards,
Viktor Tachev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Isha
Top achievements
Rank 1
answered on 03 Oct 2018, 07:37 PM
Hi Viktor,
In below dojo, You can check when I have applied row filtering, Days are filtered by 1, 2 etc values rather than Monday, tuesday etc.
http://dojo.telerik.com/iSosijip/2
Please suggest.
0
Accepted
Hi Isha,
By default filtering will be applied using the field the column is bound to. In the dojo the Day column is bound to the val field. Then template is used to show the day corresponding to the numeric value.
If you would like the filter to show the actual days I would suggest customizing the filter by defining filterable.cell.template. You can use a DropDownList that will show list of the available dates and selecting one option will filter the results in the Grid. Check out the modified sample below where the approach is illustrated.
Regards,
Viktor Tachev
Progress Telerik
By default filtering will be applied using the field the column is bound to. In the dojo the Day column is bound to the val field. Then template is used to show the day corresponding to the numeric value.
If you would like the filter to show the actual days I would suggest customizing the filter by defining filterable.cell.template. You can use a DropDownList that will show list of the available dates and selecting one option will filter the results in the Grid. Check out the modified sample below where the approach is illustrated.
Regards,
Viktor Tachev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Isha
Top achievements
Rank 1
answered on 08 Oct 2018, 09:54 AM
Thanks.