Welcome Guest, Not a member yet? Register   Sign In
Table class - add XHTML attributes to add_row()
#1

[eluser]Unknown[/eluser]
CI noob here. Is there any way to add attributes to the table elements, for example:

Code:
$this->table->add_row(
                form_checkbox('checkbox_'.$user->id, $user->id),
                $display_name,
                $user->role_name,
                $title,
                $user->last_ip,
                date('Y-m-d', strtotime($user->last_login)),
                date('Y-m-d', strtotime($user->created))
            );

I need to add styling to some or all of the cells, for example:

Code:
<td class="checkbox-cell-style">&lt;input type="checkbox" name="checkbox_1" value="1" /&gt;&lt;/td><td>Display_Name</td>...

Is there any way to do this?


Messages In This Thread
Table class - add XHTML attributes to add_row() - by El Forum - 06-17-2009, 09:29 AM
Table class - add XHTML attributes to add_row() - by El Forum - 06-17-2009, 10:10 AM
Table class - add XHTML attributes to add_row() - by El Forum - 06-17-2009, 10:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB