jQWidgets Forums
jQuery UI Widgets › Forums › DataTable › Datatable source configuration
Tagged: jqxdatatable
This topic contains 4 replies, has 2 voices, and was last updated by antonborraz 9 years, 10 months ago.
-
Author
-
Hello Support:
I’d like to use datatable using a dataAdpater from an XML source.
The syntax of my XML is the following
<?xml version="1.0" standalone="yes"?> <PdpQosMeasurementTable> <DownlinkParameters> <DownlinkSection id="0" description="Delay"> <DownlinkPacket id="0" size="78" cadency="900p/2s" limit="< 1s" /> <DownlinkPacket id="1" size="98" cadency="900p/2s" limit="< 1s" /> <DownlinkPacket id="2" size="128" cadency="900p/2s" limit="< 1s" /> <DownlinkPacket id="3" size="148" cadency="900p/2s" limit="< 1s" /> <DownlinkPacket id="4" size="178" cadency="900p/2s" limit="< 1s" /> </DownlinkSection> <DownlinkSection id="1" description="PacketLoss"> <DownlinkPacket id="0" size="78" cadency="900p/2s" limit="< 1%" /> <DownlinkPacket id="1" size="98" cadency="900p/2s" limit="> 1%" /> <DownlinkPacket id="2" size="128" cadency="900p/2s" limit="< 1%" /> <DownlinkPacket id="3" size="148" cadency="900p/2s" limit="< 1%" /> <DownlinkPacket id="4" size="178" cadency="900p/2s" limit="< 1%" /> </DownlinkSection> <DownlinkSection id="2" description="Througput"> <DownlinkPacket id="0" size="78" cadency="460ms" limit="1.17 Kbps" /> <DownlinkPacket id="1" size="98" cadency="410ms" limit="1.57 Kbps" /> <DownlinkPacket id="2" size="128" cadency="486ms" limit="1.73 Kbps" /> <DownlinkPacket id="3" size="148" cadency="596ms" limit="1.9 Kbps" /> <DownlinkPacket id="4" size="178" cadency="654ms" limit="2.1 Kbps" /> </DownlinkSection> </DownlinkParameters> <UplinkParameters> <UplinkSection id="0" description="Delay"> <UplinkPacket id="0" size="78" cadency="900p/2s" limit="< 1s" /> <UplinkPacket id="1" size="98" cadency="900p/2s" limit="< 1s" /> <UplinkPacket id="2" size="128" cadency="900p/2s" limit="< 1s" /> <UplinkPacket id="3" size="148" cadency="900p/2s" limit="< 1s" /> <UplinkPacket id="4" size="178" cadency="900p/2s" limit="< 1s" /> </UplinkSection> <UplinkSection id="1" description="PacketLoss"> <UplinkPacket id="0" size="78" cadency="900p/2s" limit="< 1%" /> <UplinkPacket id="1" size="98" cadency="900p/2s" limit="< 1%" /> <UplinkPacket id="2" size="128" cadency="900p/2s" limit="< 1%" /> <UplinkPacket id="3" size="148" cadency="900p/2s" limit="< 1%" /> <UplinkPacket id="4" size="178" cadency="900p/2s" limit="< 1%" /> </UplinkSection> <UplinkSection id="2" description="Througput"> <UplinkPacket id="0" size="78" cadency="890ms" limit="0.7 Kbps" /> <UplinkPacket id="1" size="98" cadency="950ms" limit="0.747 Kbps" /> <UplinkPacket id="2" size="128" cadency="1095ms" limit="0.93 Kbps" /> <UplinkPacket id="3" size="148" cadency="1205ms" limit="0.95 Kbps" /> <UplinkPacket id="4" size="178" cadency="1525ms" limit="0.86 Kbps" /> </UplinkSection> </UplinkParameters> </PdpQosMeasurementTable>
I’d like to show in two separate datatables uplink and downlink data, which root and record should I use in each case?
Any help would be appreciate.
Thanks in advance.
Hi antonborraz,
Please take a look at the provided example at: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxdatatable/javascript-datatable-binding-to-xml.htm?arctic
If you want more information, you can check the help topic in the documentation page at: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxdatatable/jquery-datatable-data-sources.htmBest Wishes,
MariyajQWidgets Team
http://www.jqwidgets.comThanks for the advice but the examples provided doesn’t have attribute access, only access to the parameter. So my question is, how to get the attributes information from an XML and put them into a datatable??
Thanks in advance.
Hello????
Problem solved!!!
I’ve created a cartesian product and I can show all records.
Kind regards.
-
AuthorPosts
You must be logged in to reply to this topic.