Populate "select inputs" from searchbuilder with data from server.

Populate "select inputs" from searchbuilder with data from server.

nanangaremananangarema Posts: 7Questions: 2Answers: 0

How to populate combobox with data from a tabel in database?
Thanks.

Answers

  • kthorngrenkthorngren Posts: 21,315Questions: 26Answers: 4,948

    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

  • nanangaremananangarema Posts: 7Questions: 2Answers: 0

    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)

  • nanangaremananangarema Posts: 7Questions: 2Answers: 0
    edited December 2021

    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

  • kthorngrenkthorngren Posts: 21,315Questions: 26Answers: 4,948

    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:

    SearchBuilder 1.2+ and Editor 2.0.5+ server-side libraries (or your own with support for the parameters documented).

    Colin's last comment has more links and information.

    Kevin

Sign In or Register to comment.