How to reload data on button click
1. I assign id to the object of the datagrid
<script>
var obj = new Active.Controls.Grid;
obj.setColumnProperty("texts", columns);
obj.setId("grd_sample");
obj.setDataModel(table);
document.write(obj);
</script>
2. Xml data is then loaded.
3.Loading data using xml, hash table or database to datagrid is easy but my problem is how can i reload data to the generated datagrid the i have assigned an ID by clicking a button.
<script>
var obj = new Active.Controls.Grid;
obj.setColumnProperty("texts", columns);
obj.setId("grd_sample");
obj.setDataModel(table);
document.write(obj);
</script>
2. Xml data is then loaded.
3.Loading data using xml, hash table or database to datagrid is easy but my problem is how can i reload data to the generated datagrid the i have assigned an ID by clicking a button.
RedFox13
May 16,