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>