Welcome Guest, Not a member yet? Register   Sign In
CI table class
#1

[eluser]mjstenbe[/eluser]
Is it possible to customize table template to include db variables such as row and cell numbers as id's or classes and so? I noticed that template only has one beginning tag for tr's and td's, but what if i'd like to change the class for each?

What Im hoping to produce is something like:

Code:
<table>
<tr class="1">
            <td class="id_cell">38</td>
            <td class="1">sdfsdf</td>
            <td class="2"></td>
            <td class="3">sdf</td>
</tr>
<tr class="2">
  <td class="id_cell">39</td>
            <td class="1">sdfsdf</td>
            <td class="2"></td>
            <td class="3">sdf</td>
</tr>
</table>

Thanks,
Mika


Messages In This Thread
CI table class - by El Forum - 03-17-2010, 08:01 AM
CI table class - by El Forum - 03-17-2010, 08:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB