P
pbd22
Can somebody tell me how I add classes to the <td> tags in my datagrid
server-side?
I seem to be able to get my custom classes to the <tr> tags from
within the grid's "ItemStyle"
tags by the <td> tags, or columns, remain allusive. What is the
appropriate code for styling
my columns for, say, this.MyDataGrid. And, if you are really good, how
do I style various <td>
elements with various class directives such that:
<tr>
<td class="tdOdd left"><img src="img/table_teaser.jpg" alt="teaser"
class="teaserImage" />
<h3>VTV goes behind the scenes</h3>
<p>Today we launch the Security-Awareness and online ...</p>
</td>
<td class="tdEven left">
<p>Monday 12.02.2008</p>
<p>11:30 - 12:00 (<a href="#">UK</a>)</p>
</td>
<td class="tdOdd left">
<p>Live webinar</p>
</td>
<td class="tdEven left">
<p>Active</p>
<p>20 viewers</p>
<p><a href="#">Register</a></p>
</td>
<td class="tdOdd2 left">
<p>Mark Lipp</p>
</td>
</tr>
I would really apprecaite some help.
Thanks. -
server-side?
I seem to be able to get my custom classes to the <tr> tags from
within the grid's "ItemStyle"
tags by the <td> tags, or columns, remain allusive. What is the
appropriate code for styling
my columns for, say, this.MyDataGrid. And, if you are really good, how
do I style various <td>
elements with various class directives such that:
<tr>
<td class="tdOdd left"><img src="img/table_teaser.jpg" alt="teaser"
class="teaserImage" />
<h3>VTV goes behind the scenes</h3>
<p>Today we launch the Security-Awareness and online ...</p>
</td>
<td class="tdEven left">
<p>Monday 12.02.2008</p>
<p>11:30 - 12:00 (<a href="#">UK</a>)</p>
</td>
<td class="tdOdd left">
<p>Live webinar</p>
</td>
<td class="tdEven left">
<p>Active</p>
<p>20 viewers</p>
<p><a href="#">Register</a></p>
</td>
<td class="tdOdd2 left">
<p>Mark Lipp</p>
</td>
</tr>
I would really apprecaite some help.
Thanks. -