Populate "select inputs" from searchbuilder with data from server.
Populate "select inputs" from searchbuilder with data from server.
nanangarema
Posts: 7Questions: 2Answers: 0
How to populate combobox with data from a tabel in database?
Thanks.
Answers
I'm guessing you are asking about this because you are using server side processing. See the end of this thread for help with server side processing.
Kevin
yes i use server side processing, and when i use server side, select input from searchbuilder not populated with data from database (i use join tabel)
I use example from this https://editor.datatables.net/examples/inline-editing/join.html
Then i add cdn searchbuilder js and css.
When i click 'add condition' then select 'location' then select input populate with data.
But when i change to 'serverside:true' then fields 'location' in search bulder not populate by any data
Did you read through the thread I linked to? Your server script will need to provide the search options. Most everything you need is provided in the thread.
Allan provided the requirements:
Colin's last comment has more links and information.
Kevin