How can I use a MySQL source in the Editor - In table form controls example

How can I use a MySQL source in the Editor - In table form controls example

timleikertimleiker Posts: 6Questions: 3Answers: 0

I don't understand the source used in the example - "ajax": "../php/staff.php",.

I would like to get my data from a MySQL table.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,530Questions: 1Answers: 10,473 Site admin
    Answer ✓

    Simply output your data as JSON then use columns.data to tell DataTables where to get the data for each column. See the documentation for more information.

    Allan

  • timleikertimleiker Posts: 6Questions: 3Answers: 0

    columns was the ticket!

This discussion has been closed.