jQuery UI Widgets Forums Plugins Data Adapter XML map Find column by attribaute

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • XML map Find column by attribaute #55480

    Mithun
    Participant

    My xml has same tag for every column with the name as an attribute. How do I map each column in my dataadapter source?

    eg XML :
    <root>
    <viewentry id=”1″>
    <entrydata name=”Name”>Mithun</entrydata>
    <entrydata name=”Designation”>Senior Programmer</entrydata>
    <entrydata name=”DOB”>18-07-1983</entrydata>
    </viewentry>
    <viewentry id=”2″>
    <entrydata name=”Name”>Balan</entrydata>
    <entrydata name=”Designation”>Senior Manager</entrydata>
    <entrydata name=”DOB”>10-03-1943</entrydata>
    </viewentry>
    </root>

    Here <viewentry> is the record and <entrydata> is the column. How do I define this ‘map’?

    XML map Find column by attribaute #55486

    Dimitar
    Participant

    Hello Mithun,

    Please refer to the tutorial Grid Data Sources and check out Example #2. We hope it is helpful to you.

    Best Regards,
    Dimitar

    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.