Hi
I have a reset button on a form with the following client-side code to clear the grid:
This works great but the NoMasterRecordsText is not shown on reset. This is set as follows in the MasterTable view:
Perhaps somebody could shed some light on how to achieve this
Regards
Daniel Affleck
I have a reset button on a form with the following client-side code to clear the grid:
var view = $find('grd').get_masterTableView();
view.set_dataSource([]);
view.dataBind();This works great but the NoMasterRecordsText is not shown on reset. This is set as follows in the MasterTable view:
ShowHeadersWhenNoRecords="true"
NoMasterRecordsText="No data available matching the supplied search criteria."Perhaps somebody could shed some light on how to achieve this
Regards
Daniel Affleck