Is there a way to bind data to jgxgrid, ondemand. Keep querying for data in the background and populate the records in the grid without refreshing or repainting. Also, the total records found should be updated simultaneously.
Secondly,how to load the data ondemand when we have master child relationship. On clicking master row,child row should expand and be filled with data by querying the database.
Any help regarding this would be greatly appreciated.
1) This can be achieved by calling the method updatebounddata, but not without a refresh of the grid. Another possibility is to get all new additions or modifications to the grid via Ajax calls and store them. Then call all the relevant methods for each of the modified records (addrow, updaterow, etc.) between the methods beginupdate and endupdate. This way, all records will be updated simultaneously.
2) There is a jqxGrid master-details demo that may help you which can be found in the jQWidgets download package, in phpdemos\grid_master_details.