-
September 26th, 2017, 07:20 AM
#1
Update COMMAND mode values into separate DynaGrid
I have an XML like below, I have created a class for this in my adapter and assigned values in that class for an update. In my user page, I could display list in a single table but I need to display in a separate table based on condition like com_is_coin.
If com_is_coin is 0 means I need to display in one table and if com_is_coin is 1 means need to display in a separate table. Is this possible or is there any other solution for this. Please help me anyone to do this.
I used DynaGrid in my client.
And also I used COMMAND mode to connect my adapter and client.
var fieldList = ["key", "command", "desc", "bid", "ask", "high", "low", "order", "coin"];
I'm getting response values in the above field.
<Commodities>
<Commodity>
<id>19</id>
<name>GOLD 1 Grm</name>
<selling_rate>3119</selling_rate>
<buying_rate>-</buying_rate>
<delivery_date>26/09/2017</delivery_date>
<com_is_coin>0</com_is_coin>
</Commodity>
<Commodity>
<id>31</id>
<name>MCX GOLD OCT</name>
<selling_rate>30115</selling_rate>
<buying_rate>30111</buying_rate>
<delivery_date>26/09/2017</delivery_date>
<com_is_coin>1</com_is_coin>
</Commodity>
<Commodity>
<id>32</id>
<name>MCX SILVER DEC</name>
<selling_rate>40481</selling_rate>
<buying_rate>40476</buying_rate>
<delivery_date>26/09/2017</delivery_date>
<com_is_coin>1</com_is_coin>
</Commodity>
</Commodities>
Similar Threads
-
By rvkvino in forum General
Replies: 3
Last Post: March 28th, 2017, 04:58 PM
-
By alexreinert in forum Client SDKs
Replies: 2
Last Post: July 21st, 2015, 10:35 AM
-
By Ranag in forum Adapter SDKs
Replies: 1
Last Post: December 12th, 2014, 09:03 AM
-
By GoatHunter in forum Client SDKs
Replies: 3
Last Post: August 31st, 2009, 08:57 AM
-
By ddhanis in forum Adapter SDKs
Replies: 1
Last Post: August 20th, 2009, 08:47 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:25 PM.
Bookmarks