Hi All,
I am trying to create a dynascrolltable with 4 columns .New rows are getting added based on the update event in the DataAdaptor but the column values are empty.Please find the code below which i used 2 build the dynascrolltable.
<div id="actTBody" class="scrollBodyAct">
<table cellspacing="1" cellpadding="2" width="780" border="0">
<tr id="r1">
<td width="60" height="1"></td>
<td width="105" height="1"></td>
<td width="170" height="1"></td>
<td width="426" height="1"></td>
</tr>
<tr id="activities" source="lightstreamer" class="lscoldact">
<td width="60" >
<div source="lightstreamer" field="TT1" class="lscoldact">
</div>
</td>
<td width="105">
<div source="lightstreamer" field="TT2" class="lscoldact">
</div>
</td>
<td width="170" >
<div source="lightstreamer" field="TT3" class="lscoldact">
</div>
</td>
<td width="426" >
<div source="lightstreamer" field="TT4" class="lscoldact">
</div>
</td>
</tr>
</table>
</div>
var table = new DynaScrollTable("LS_activity", "log_who", "DISTINCT");
table.counterField = 5;
table.setSnapshotRequired(false);
table.setClearOnDisconnected(true);
table.setUpwardScroll(true);
table.setAutoScroll("ELEMENT","actTBody");
table.setMaxDynaRows("UNLIMITED");
table.setPushedHtmlEnabled(true);

pushPage.addTable(table, "activities");
------------------------------------------------------------------------
and in the data adaptor based on the update event i call the listener

Map<String,String> data = new HashMap<String, String>(); data.put("TT1", "TEST1");
data.put("TT2","TEST2");
data.put("TT3","TEST3");
data.put("TT4","TEST4");
listener.update("LS_activity", data, false);
--------------------------------------------------------
I get the rows added but the column values are all empty.Your help is very much appreciated.Thank you

Regards,
George