jQuery UI Widgets Forums Plugins Data Adapter Define specific root / record

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Define specific root / record #57340


    Hi there,

    I am facing a problem regarding data from a xml source.
    I am currently working on a Dropdownlist.

    My source is defined as the following:

    var source =
                    datatype: "xml",
                    datafields: [
                        { name: 'AdminKeywordValue', map: 'm\\:properties>d\\:AdminKeywordValue', type: 'string' },
                        { name: 'AdminKeywordAlias', map: 'm\\:properties>d\\:AdminKeywordAlias', type: 'string' }
                    url: url,
                    root: "entry",
                    record: "content"

    Unfortunately it does not display anything.

    Additionaly here is part of my XML source:


    As you can see, there are several records ‘content’. The first one is the wrong one. I want the second ‘content’ at the bottom.

    Is there a way to tell the record property of the dropdownlist that it has to get the data from the second ‘content’ record?

    Thank you in advance.

    • This topic was modified 9 years, 11 months ago by  AJRames.
    Define specific root / record #57377

    Peter Stoev

    Hi AJRames,

    Sorry, there is no such option to specify the “record” to get the second ‘content’ at the bottom. It’s not so precise. I suppose that you will have to implement some custom data loading through the jQuery’s Ajax function instead

    Best Regards,
    Peter Stoev

    jQWidgets Team

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

You must be logged in to reply to this topic.