GridCheckBoxSelectorColumn cannot be filtered/sorted

Dear Team, i have found a bug in the DataGrid control.

Taken directly from your "Syncfusion wpf-demos-master" project and tested with the version 20.1.0.59, the following is not working:
when i use the Selector column



#1) the filter image is not visible, as with the normal text columns
#2) i cannot sort ascending/descending the grid elements. A sorting happens indeed, but the grid elements stay as they are => nothing happens.


With kind regards
Fanourios Siskakis


3 Replies

VS Vijayarasan Sivanandham Syncfusion Team June 23, 2022 02:01 PM UTC

Hi Fanourios Siskakis,

We regret to inform you that the reported scenario is not an issue. This is the expected behavior of GridCheckBoxSelectorColumn in SfDataGrid. Because GridCheckBoxSelectorColumn is not bound with data object from the underlying data source, it can be added like normal columns.

We have mentioned in our user documentation as a limitation of GridCheckBoxSelectorColumn does not support data operations such as sorting, filtering, and grouping. For more information related to GridCheckBoxSelectorColumn limitation, please refer to the below user guide documentation link,


UG Link: https://help.syncfusion.com/wpf/datagrid/column-types#limitations

Please let us know if you have any concerns in this.

Regards,

Vijayarasan S



FS Fanourios Siskakis June 24, 2022 10:51 AM UTC

And why then the functionality is there? Why the filter/sorting functionality is not just removed from that column?

And secondly, when this column type works as expected, at the moment it doesnt, what is the point of using the column, when it doesnt support almost anything?

In your demo project this column it is bound to a property. Of course this doesnt work, check this blog => https://www.syncfusion.com/forums/175799/gridcheckboxselectorcolumn-binding-doesnt-work



DM Dhanasekar Mohanraj Syncfusion Team June 27, 2022 02:15 PM UTC

Hi Fanourios Siskakis,

We deeply regret for inconvenience caused,

Please find the response for the reported scenarios below,

Reported scenario

Response


And why then the functionality is there? Why the filter/sorting functionality is not just removed from that column?


By default, GridCheckBoxSelectorColumn is an Unbound Column and there is no possibilities to provide support for data operations like Sorting and Filtering. And the Sorting/Filtering properties are inherited from the base class that’s why these properties are present in this column too.


And secondly, when this column type works as expected, at the moment it doesnt, what is the point of using the column, when it doesnt support almost anything?


The actual purpose of the GridCheckBoxSelectorColumn is to select the SfDataGrid rows through the selector column check box. And when we clicked the header checkbox entire SfDataFrid gets selected/deselected and it is not like other columns for supporting data operations as mentioned above.


In your demo project this column it is bound to a property. Of course this doesnt work, check this blog => 
https://www.syncfusion.com/forums/175799/gridcheckboxselectorcolumn-binding-doesnt-work


We have addressed the reported query in the mentioned forum. We appreciate your patience and understanding.



Regards,
Dhanasekar M.


Loader.
Up arrow icon