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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Sorting & Grouping Unbound Columns based on Display Text / Values

Thread ID:

Created:

Updated:

Platform:

Replies:

151084 Jan 30,2020 11:45 AM UTC Feb 10,2020 09:09 AM UTC WPF 8
loading
Tags: SfDataGrid
Amit Saraf
Asked On January 30, 2020 11:45 AM UTC

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

Saravanan Ayyanar [Syncfusion]
Replied On January 31, 2020 01:05 PM UTC

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. 


Amit Saraf
Replied On February 1, 2020 11:00 AM UTC

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

Susmitha Sundar [Syncfusion]
Replied On February 3, 2020 06:13 PM UTC

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  


Susmitha Sundar [Syncfusion]
Replied On February 5, 2020 05:13 PM UTC

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 


Amit Saraf
Replied On February 6, 2020 05:56 AM UTC

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

Farjana Parveen Ayubb [Syncfusion]
Replied On February 7, 2020 12:26 PM UTC

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 


Amit Saraf
Replied On February 7, 2020 01:07 PM UTC

Ok 

Thanks for your help

Amit Saraf

Farjana Parveen Ayubb [Syncfusion]
Replied On February 10, 2020 09:09 AM UTC

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


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.

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

Live Chat Icon For mobile
Live Chat Icon