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

multi-column sorting not working on MacOS desktop

I am not able to get multi-column sorting to work on a Mac Desktop. I believe all is setup as per your examples, but only single-column and tristate work. See my sample code below:


SfDataGrid(

        key: key,

        source: _orderRowDataSource,

        columns: _getColumns(remainingWidth),

        rowHeight: 35.0,

        gridLinesVisibility: GridLinesVisibility.both,

        headerGridLinesVisibility: GridLinesVisibility.both,

        allowSorting: true,

        allowTriStateSorting: true,

        allowMultiColumnSorting: true,

        showSortNumbers: true,

)


3 Replies

TP Tamilarasan Paranthaman Syncfusion Team October 14, 2022 07:40 AM

Hi Mike,


Based on the provided information, we are unable to reproduce the reported issue. We have tested the sample with the provided details and it’s working fine on our end. We suspect that you’re trying to apply multi-column sorting without pressing the Ctrl key. To perform sorting for multiple columns on the web and desktop, you can achieve that by pressing the Ctrl key and clicking the column header.


We have already provided detailed information about multi-column sorting in the below UG link. Please go through this.


UG Documentation: https://help.syncfusion.com/flutter/datagrid/sorting#multi-column-sorting


Regards,

Tamilarasan



MR Mike Robinson October 14, 2022 09:33 AM

Thanks for your reply. You are absolutely right, I did not see that the CNTL key was needed. And, of course, that makes perfect sense.



TP Tamilarasan Paranthaman Syncfusion Team October 17, 2022 08:01 AM

Hi Mike,


We are glad that the provided response helps you. Please let us know if you require further assistance. As always, we are happy to help you out.


Regards,

Tamilarasan


Loader.
Live Chat Icon For mobile
Up arrow icon