One ajax call to rule them all?

One ajax call to rule them all?

stephanbstephanb Posts: 36Questions: 11Answers: 0

Is it possible to use one ajax call to load the main table content, and values to use for 4 Editor dropdown fields?
How would I structure that?

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    Yes, Editor will automatically listen for DataTables xhr event and look for an options object it in it. You can see that being done here. There is only a single option list, but you can readily expand it to many since it is a name based object.

    See the client / server params docs for full details of the options object.

    Allan

This discussion has been closed.