I have my dynagrid set up like this:
HTML Code:
<table cellpadding="2" id="grid2">
<thead>
<tr class="tabletitle">
<th width="20%" nowrap id="col_stock_name"><input type="checkbox" style="float: left" id="apples_check">Currency
</th>
<th width="22%" nowrap id="col_spread">B/A Spread
</th>
<th width="16%" nowrap id="col_ask">Sell
</th>
<th width="16%" nowrap id="col_bid">Buy
</th>
<th width="16%" nowrap id="col_count">Count
</th>
<th width="18%" nowrap id="col_time">Time
</th>
</tr>
</thead>
<tbody>
<tr id="stocks" data-source="lightstreamer" border="0" >
<td nowrap style="text-align: left">
<input type="checkbox" style="float: left" id="apples_check">
<div id="stockName" data-source="lightstreamer" data-field="stock_name">Loading...</div>
</td>
<td style="padding:0px; margin-top:-10px; height:20px;" ><div style="width:100%; height:100%;" data-source="lightstreamer" class="spreaddiv" data-field="spread">-</div></td>
<td><div data-source="lightstreamer" data-field="ask">-</div></td>
<td><div data-source="lightstreamer" data-field="bid">-</div></td>
<td><div data-source="lightstreamer" data-field="count">-</div></td>
<td><div data-source="lightstreamer" data-field="time">-</div></td>
</tr>
</tbody>
</table>
I am using JqueryUI to style my checkboxes, and it works on the one in the header, because it is not dynamically generated, but with the checkboxes in the "stocks" row, the checkboxes do not come out styled. Anyone have any tips? Is there a way to know at what precise moment lightstreamer finishes building the grid like some kind of trigger?
Thanks in advance! Daniel
Bookmarks