Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #112710

    Looking at demos and doc I didn’t find the way to know, when the change event fires, the previous status of the row (if it was already selected or not).

    I also noticed than, clicking 2 times on the same cell (or row) the event fires two times with no difference.

    How can I get the previous and the final selection status of the row ?

    Tks

    #112713
    Markov
    Keymaster

    Hi,

    The event is raised when the selection is changed i.e when a row is selected or unselected. In the case you describe, it will normally fire the two times, one for selection and another one for unselection. To get the state of the selection, the Grid has methods such as getSelectedRows and others. The full list of methods is available in the Grid API Docs and https://www.htmlelements.com/docs/grid-selection/

    Regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

    #112720

    Tks but getSelectedRows provides me the list of the selected rows but what’s about the the row which fired the seleciton ?

    Where can I find it ?

    Tks

    Tullio

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