jQWidgets Forums

jQuery UI Widgets Forums React Repopulate JqxComboBox

This topic contains 3 replies, has 2 voices, and was last updated by  AsterionDB 7 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Repopulate JqxComboBox #95656

    adrian_hd
    Participant

    How to repopulate a JqxComboBox after it has already loaded for the first time, ie clear the current information of the JqxComboBox and reload information about the same JqxComboBox but that comes from a different api. Any example?

    Because I have already reviewed the JqxComboBox documentation on react and does not say how to do it.

    Repopulate JqxComboBox #95659

    AsterionDB
    Participant

    You have to rebuild the jqxDataAdapter and then reset the source for the jqxComboBox. There’s a jqxComboBox method that allows you to set the source property. Call that function in your downstream code when you need to repopulate the jqxComboBox.

    Repopulate JqxComboBox #95683

    adrian_hd
    Participant

    Hi will you have an example?

    Repopulate JqxComboBox #95688

    AsterionDB
    Participant

    Sorry, I will not have time to put together an example. Take a look at how they implement the master-detail capability in the jqxDataTable demonstration. The process is very similar.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.