jQuery UI Widgets Forums Grid Load data into grid on demand

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 9 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Load data into grid on demand #63484


    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.

    Thanks in advance!

    Load data into grid on demand #63504


    Hello harishmaney,

    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.

    Best Regards,

    jQWidgets team

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.