About sorting icon

We have added programmatically sorting,​ for table its working fine, our requirement is, While programmatically sorting is performed not required to show default sort icon neither ascending​ nor descending.
While sorting is applied initially the stateful widget added in GridColumn is getting rebuild.


12 Replies

TP Tamilarasan Paranthaman Syncfusion Team February 28, 2022 11:40 AM UTC

 Hi Mohammed Abrar UI, 
 
We have already considered the feature with “Support to change the sort icon at sample level”. We will implement this feature in our 2022 Volume 1 release, which is expected to be rolled out on end of March 2022. You can follow up with the below feedback for further details,  
  
 
 
By using this feature, you can set the required widget to disable the default sort icon. For example, you can set the simple transparent widget (Container with Transparent backcolor) to not show sort icon. 
 
We will let you know once it gets rolled out. We appreciate your patience until then. 
 
Regards, 
Tamilarasan 



MA Mohammed Abrar Ul March 15, 2022 09:29 AM UTC

Thanks for your reply,

Need to know about one more thing,about sorting in data grid, can we have an option to show default icon, to represent that column / table supports sorting. Because technically on clicking ASC or DESC related icons is coming, but with out that no option to show end user that table / column supports sorting



TP Tamilarasan Paranthaman Syncfusion Team March 15, 2022 01:59 PM UTC

 Hi Mohammed Abrar UI, 
  
 
We are little bit unclear about your requirements. What we have understood is you want to check whether the sorting is applied or not. To check it, DataGridSource.sortedColumns property holding the sorted columns details. You can use this property for your requirement if you want that. If we misunderstood anything, please let us know more clear details about your query. It will be helpful for us. 
  
 
Regards, 
Tamilarasan 



MA Mohammed Abrar Ul March 17, 2022 12:07 PM UTC

Below attachment, We have used sync fusion datagrid to display data, and also enabled sorting for all the columns.

But end user will not have clue/idea that sorting is supported in table. We are expecting a default icon / widget, which represents sorting is supported. Icon like https://fontawesome.com/icons/sort?s=solid. Widget like https://www.flaticon.com/free-icon/two-opposite-up-and-down-arrows-side-by-side_60798

  1. Show Default Icon / Widget, if sorting is enabled  and supported.
  2. When sorting is applied change of icons, which is already supported by plugin.




TP Tamilarasan Paranthaman Syncfusion Team March 18, 2022 02:29 PM UTC

 
Thank you for your update. 
 
At Present, DataGrid does not have support for showing the default sort icon in initial loading when sorting is supported. 
 
Please confirm whether you want to show the default sort icon in all the header columns on the initial loading itself If sorting is supported? Only after clicking in the header, the ASC or DESC icons should be shown? 
 
Regards, 
Tamilarasan 



MA Mohammed Abrar Ul March 22, 2022 04:03 PM UTC

Sorry in late reply,

Yes, we need this to be supported. To have more clarified UI to the end user



TP Tamilarasan Paranthaman Syncfusion Team March 23, 2022 01:48 PM UTC

 
Thank you for your update. 
 
We have prepared the workaround for your requirement as you expected. The default sort icon is shown at the initial loading itself. If sorting is applied the ASC or DESC icons would be shown. Please check the following sample. 
 
 
Please confirm, are you using the tri-state sorting in your application? Because we have planned to implement this feature if and only if the tri-state is set as true i.e., while showing the unsorted rows, default icon will be shown. You can find the details about our tri-state sorting in below, 
 
 
Regards, 
Tamilarasan 



TP Tamilarasan Paranthaman Syncfusion Team March 24, 2022 12:02 PM UTC



MA Mohammed Abrar Ul March 28, 2022 09:35 AM UTC

Yes we are using tri-state sorting also. Likely all 3 sorting are set to true (allowSorting, allowMultiColumnSorting, allowTrisStateSorting.

And also we are supporting custom LOAD MORE to table



TP Tamilarasan Paranthaman Syncfusion Team July 1, 2022 12:33 PM UTC

Hi Mohammed Abrar Ul,


Sorry for the inconvenience caused.


Due to some technical difficulties, we unfortunately couldn't provide the support for the “Show icon in column header cells when allow sorting is enabled to indicate sorting is supported” in the 2022 Volume 2 release. We will implement this feature in our 2022 Volume 2 SP release, which is expected to be rolled out by the mid of August 2022. We will let you know once it is published. We appreciate your patience and understanding till then.


Regards,

Tamilarasan



TP Tamilarasan Paranthaman Syncfusion Team August 9, 2022 09:30 AM UTC

Hi Mohammed Abrar,


Sorry for the inconvenience caused.


Due to some technical difficulties, we unfortunately couldn't provide the support for the “Show icon in column header cells when allow sorting is enabled to indicate sorting is supported” in the 2022 Volume 2 SP release. We will implement this feature in our 2022 Volume 3 release, which is expected to be rolled out by the end of September 2022. We will let you know once it is published. We appreciate your patience and understanding till then.


Regards,

Tamilarasan



TP Tamilarasan Paranthaman Syncfusion Team September 30, 2022 12:00 PM UTC

Hi Mohammed Abrar Ul,


Thanks for your patience. 


We are glad to announce that our Essential Studio 2022 Volume 3 Main Release V20.3.0.47 is rolled out and is available for download under the following link.


https://www.syncfusion.com/forums/177858/essential-studio-2022-volume-3-main-release-v20-3-0-47-is-available-for-download


Refer the following UG Document for the sorting feature, 


UG Document: https://help.syncfusion.com/flutter/datagrid/sorting


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Regards,

Tamilarasan


Loader.
Up arrow icon