I am using tables inside divs. But the functionality is not working for the responsive tables
I am using tables inside divs. But the functionality is not working for the responsive tables
Shaheer
Posts: 2Questions: 2Answers: 0
<div style="width: 950px;">
<table width="100%" class="display responsive nowrap" id="IWTable" border="<%=Convert.ToInt32(MWSettings.IWborderwidth.Replace("px",""))%>"
cellspacing="0" style="padding-bottom: 10px;">
<thead id="IWHeaderRow" runat="server">
<tr>
<th class="IWHeaderCol1">
Index Code
</th>
<th class="IWHeaderCol2">
Index
</th>
<th class="IWHeaderCol3">
Change
</th>
<th class="IWHeaderCol4">
High Index
</th>
<th class="IWHeaderCol5">
Low Index
</th>
<th class="IWHeaderCol6">
Volume
</th>
<th class="IWHeaderCol7">
Value
</th>
<th class="IWHeaderCol8">
Market
</th>
</tr>
</thead>
<tbody>
<tr class="IWDataRow">
<td class="IWDataCol1">
<select>
<option value="KSE100">KSE100</option>
<option value="KSE30">KSE30</option>
<option value="ALLShr">All Shr</option>
<option value="KMI30">KMI30</option>
</select>
</td>
<td class="IWDataCol2">
Wilder
</td>
<td class="IWDataCol3">
Sales Assistant
</td>
<td class="IWDataCol4">
Sidney
</td>
<td class="IWDataCol5">
23
</td>
<td class="IWDataCol6">
2010/09/20
</td>
<td class="IWDataCol7">
$85,600
</td>
<td class="IWDataCol8">
3023
</td>
</tr>
</tbody>
</table>
</div>
Edited by Allan - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
This discussion has been closed.
Answers
Your border statement appears to be incorrectly formatted. It looks like the replace statement should have escaped the quotes for HTML rendering.
@Shaheer - Per the forum rules, please link to a test case showing the issue.
Allan