I'm looking for a way to delete all the rows out of an editable grid with a button press. The reason is we have a drop down list that contains a list of templates that are used to load the grid. When the template is selected and the load button is clicked I need to clear out any rows entered in the grid. After which the load button will insert the template using SQL statements and then triggers the button click for the submit form button which reloads the form via a chained action. So my issue is how do I remove all the rows out of the grid?
Any help would be much appreciated.
Thanks.