Join table example

Join table example

sliekenssliekens Posts: 97Questions: 17Answers: 2
edited January 2017 in DataTables 1.10

I'm trying to display data from linked tables. As an exercise, I tried to recreate the example on this page: https://editor.datatables.net/examples/simple/join.html

This is my result: http://live.datatables.net/zatojowu/3/edit

DataTables insists that there is no data to display. I don't know what I'm doing wrong. Please send help.

Answers

  • allanallan Posts: 61,695Questions: 1Answers: 10,102 Site admin

    If you are loading the data locally, just use the data option: http://live.datatables.net/vuhavoqo/1/edit .

    Allan

  • sliekenssliekens Posts: 97Questions: 17Answers: 2

    I spotted my error: my ajax callback had a parameter named data that was hiding the global data variable. Doh...

  • sliekenssliekens Posts: 97Questions: 17Answers: 2

    I see that for the data, you discarded the values of data.options and data.files. Does that mean I can't use the data if I need to keep those values for Editor?

This discussion has been closed.