How to run a javasscript on delete row event of the grid? ...

How to run a javasscript on delete row event of the grid? ...

OriginalPostID-58004

OriginalPostID-58004

  Discussion posts and replies are publicly visible

Parents
  • I am able to capture the event on delete icon of the row; but problem is : lets say we have three rows in a grid and i am clicking one of delete icon then it delete all the rows of the grid insted to delete respective row of delete icon.i am writting below code on load of the form : setTimeout(
              function()
                        {
                        $(".deleteRowIcon").click(
                                            function()
                                                      {
                                                      alert("A row has been deleted");
                                                      }
                                                      );
                        }, 60);
Reply
  • I am able to capture the event on delete icon of the row; but problem is : lets say we have three rows in a grid and i am clicking one of delete icon then it delete all the rows of the grid insted to delete respective row of delete icon.i am writting below code on load of the form : setTimeout(
              function()
                        {
                        $(".deleteRowIcon").click(
                                            function()
                                                      {
                                                      alert("A row has been deleted");
                                                      }
                                                      );
                        }, 60);
Children
No Data