On-Change event issue, please help.

2 posts, 0 answers
  1. Vincent
    Vincent avatar
    56 posts
    Member since:
    Dec 2013

    Posted 27 Mar 2020 Link to this post

    when i select a row in grid. it fire change event, but I re-select the same row. the change event fire too. how can i prevent the change event when i select the same row?
  2. Nikolay
    Nikolay  avatar
    295 posts

    Posted 01 Apr 2020 Link to this post

    Hi Vincent,

    By design, the Change event fires every time when a table row/cell in the grid is selected including the already selected row/cell. However, in the Change event handler, the currently selected row can be conditionally checked if is equal to the last selection using a global variable. For more information please refer to the following forum thread discussing this topic:

    Let me know if you have any questions.

    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top