paramquery / grid

jQuery grid plugin based on jQueryui widget design
paramquery.com
GNU General Public License v3.0
543 stars 255 forks source link

How can I get the data through Ajax and render it in the table #179

Open sheep5250 opened 2 years ago

sheep5250 commented 2 years ago

The current data cannot be displayed in the table in time . In which way should I get the data.

paramquery commented 2 years ago

grid makes remote requests on its own if dataModel.location = "remote"

If you want to make the Ajax call yourself, then keep dataModel.location = "local" and assign the data from Ajax response to grid.

it's explained here: https://paramquery.com/tutorial#topic-loaddata