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. Image for the cookie policy date

Sorting & Grouping Unbound Columns based on Display Text / Values

I'm unable to Sort or Group unbound columns.

Can you please let me know if sorting or grouping is available for unbound columns

Thanks in advance
Amit Saraf

8 Replies

SA Saravanan Ayyanar Syncfusion Team January 31, 2020 05:05 AM

Hi Amit Saraf, 
 
Thank you for using Syncfusion controls. 
 
We are supported the sorting and grouping for unbound columns. By default, sorting and grouping working for unbound column. Please refer the sample link below. 
 
Sample Link: 
 
Please let us know, if you require further assistance on this. 
 
Regards, 
Saravanan A. 



AS Amit Saraf February 1, 2020 03:00 AM

Thanks for your reply

Please find attached herewith a short example which would help you understand my code and regenerated error i'm encountering

Thanks in advance
Amit Saraf

Attachment: UnboundColum_Test_cd29f7da.zip


SS Susmitha Sundar Syncfusion Team February 3, 2020 10:13 AM

Hi Amit, 
 
Thank you for your update. 
 
We can able to replicate your reported scenario. Currently, we are checking the feasibility to resolve this. We will validate and update you details on or before February 5, 2020. 
 
We appreciate your patience until then. 
 
Regards, 
Susmitha S  



SS Susmitha Sundar Syncfusion Team February 5, 2020 09:13 AM

Hi Amit, 
 
Thank you for your patience. 
 
By default, when we apply the sorting for SfDataGrid, it does not sort the underlying DataTable collection. We have performed the sorting for DataTable in our source for bounded columns only. When you try to apply the sorting for Unbounded columns it does not work with DataTable collection. We did not provide the support for this. 
 
Please let us know if you need further assistance on this. 
 
Regards, 
Susmitha S 



AS Amit Saraf February 5, 2020 09:56 PM

Thanks for your reply

So, its clear that unbound columns cannot be sorted or grouped (based on my usage)

is there any work around to this

please let me know

Amit Saraf


FP Farjana Parveen Ayubb Syncfusion Team February 7, 2020 04:26 AM

Hi Amit, 
 
Thank you for your update. 
 
We have analyzed your query. If your collection is DataTable you can’t able to sort the UnboundColumn, if you are converting the DataTable to dynamic collection and bind that dynamic collection to SfDataGrid means sorting is works as expected.  
 
Please let us know if you need any further details on this. 
 
Regards, 
Farjana Parveen A 



AS Amit Saraf February 7, 2020 05:07 AM

Ok 

Thanks for your help

Amit Saraf


FP Farjana Parveen Ayubb Syncfusion Team February 10, 2020 01:09 AM

Hi Amit, 
 
Thank you for your update. please let us know whether you require further other assistance from us 
 
Regards, 
Farjana Parveen A 


Loader.
Live Chat Icon For mobile
Up arrow icon