Hi All,
I have the following:
basically it makes this column (td = 0) the same colour as the rest of the page background, removing the grey/white row striping. When the row data indicates admitted=true, it toggles the visibility of the <div> element so that a green box can be seen with a label in it. The label data is a number that is in another column (td = 30). I have this column (td = 0) sorting using col 30 as the sort source.
The sorting works great BUT the css on the column breaks and i can see the row banding now for all rows for this first cell/column. i've tried settind the "sClass": "admitted" with a css of:
If i sort against any other column, the css for this first column is preserved.... so it only breaks column 0 css when i sort using column 0 sort control.
Many thanks,
Dave
I have the following:
<td class="admitted"><div class="hideShowAdmission"><asp:Label ID="admitted_indicator" CssClass="admitted_label" runat="server" Width="70%"></asp:Label></div></td>
basically it makes this column (td = 0) the same colour as the rest of the page background, removing the grey/white row striping. When the row data indicates admitted=true, it toggles the visibility of the <div> element so that a green box can be seen with a label in it. The label data is a number that is in another column (td = 30). I have this column (td = 0) sorting using col 30 as the sort source.
The sorting works great BUT the css on the column breaks and i can see the row banding now for all rows for this first cell/column. i've tried settind the "sClass": "admitted" with a css of:
table.dataTable td.admitted { background-color:#3a4f63; padding-top:3px; margin-top:0px; }
If i sort against any other column, the css for this first column is preserved.... so it only breaks column 0 css when i sort using column 0 sort control.
Many thanks,
Dave