jQWidgets Forums

jQuery UI Widgets Forums Lists DropDownList Filtering XML data based on selected value

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • kated
    Member

    Hello!

    Suppose I am having two dropdownlist controls which get data from the xml file. The ddl2’s value depends on value of ddl1. I can use jqxDataAdapter plug-in and fill XML data to the ddl1. I can also get the ddl1’s selected value. How can I filter the xml data based on the ddl1’s selected value and fill that data in the ddl2? Can I do it with jqxDataAdapter plug-in?

    Thank you very much!
    Kate


    Peter Stoev
    Keymaster

    Hi Kate,

    When you load the jqxDataAdapter with data, you can access that data via the jqxDataAdapter’s records property which is an Array. Filtering of the array should be done manually. jqxDataAdapter doesn’t have filtering capabilities built-in.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.