Ordinary table functions like $this->table->generate() produces this:
<table border="0" cellpadding="4" cellspacing="0">
<tr>
<td>one</td><td>two</td><td>three</td>
</tr>
</table>
how can I produce something like
<table border="0" id="myTable" cellpadding="4" cellspacing="0">
Have you tried this?
UPDATE 1:
Ref: https://ellislab.com/codeigniter/user-guide/libraries/table.html