populate dropdown from unlinked table
populate dropdown from unlinked table
wijwij
Posts: 54Questions: 12Answers: 0
in DataTables
Hi
I searched for help with this request but couldn't find any clue!
Simply; I want to populate a dropdown list inside the editor form from a different table that is not linked to the main table
any help appreciated
Answers
You would need to either make an Ajax call to an end-point on the server to get that data (this blog post here is doing something similar - see countries), or you could ack that data into the data sent to the table originally and use
ajax.json()
to get access to it,Colin
I will give it a try. Thank you, Colin