TreeGridSelectionSettings Single is allowing multiple selections

Hello,

In the attached project I have a TreeGrid and I define on line 7:


 <TreeGridSelectionSettings Type="Syncfusion.Blazor.Grids.SelectionType.Single"></TreeGridSelectionSettings>

However the user is still able to select multiple items at once. Am I missing how this line is meant to work?


Thank you


Attachment: TreeGridSample_cd69328.zip

3 Replies 1 reply marked as answer

PS Pon Selva Jeganathan Syncfusion Team September 16, 2022 03:27 AM UTC

Hi Leland,


Thanks for contacting syncfusion forum.


Query: However the user is still able to select multiple items at once. Am I missing how this line is meant to work?


We are able to replicate the issue at our end. On further validation, you are using the checkbox selection feature. While using the checkbox selection feature,we will select multiple tree grid records with the help of the checkbox in each row.


If you want to enable single record selection with the checkbox selection feature, we suggest you use the CheckboxSelectionMode as ResetOnRowClick


Please refer to the below documentation,

https://blazor.syncfusion.com/documentation/treegrid/selection#checkbox-selection-mode


Kindly get back to us for further assistance.


Regards,

Pon selva

If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.



Marked as answer

LE Leland September 18, 2022 05:32 PM UTC

Thank you,


Apologies for missing this in the documentation.



PS Pon Selva Jeganathan Syncfusion Team September 19, 2022 03:01 PM UTC

Hi Jose,  


Thanks for the update.   


Kindly get back to us for further assistance.



Regards,

Pon selva


If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.



Loader.
Up arrow icon