JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid Smart grid [selection] based selection problem when applying sorting

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #101062
    davout
    Member
    Up
    0
    Down

    I’ve noticed a problem with the use of the ‘[selection] option on smart-grid and the subsequent use of a column sort
    I have a smart-grid that has ‘sorting’ and ‘selection’ active.
    If I select one of more grid rows by clicking on the left most ‘select’ column then as expected the selected tick symbols appear.  For example if I click on rows 6 and 9  then ticks appear in the left most columns of those rows
    If I then choose to sort the table contents by a new column then the ‘select’ tick symbols remain on rows 6 and 9 even though the data is now different for those rows.
    Is this a bug?   Is there a way to link the selection state to a data model row property so that when a sort is applied the tick symbols move to the new row position?

    #101066
    admin
    Keymaster
    Up
    0
    Down

    Hi davout,
    Could you share a codepen or stackblitz example, which demonstrate your DataGrid application scenario?
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.