Welcome Guest, Not a member yet? Register   Sign In
more than 1 items in a row
#1

[eluser]belbek[/eluser]
what if i need to show for example $i items in a row insted of one that table class sugests and do it with correct pagination?
#2

[eluser]Colin Williams[/eluser]
Depends on how you want to display the $i items in the row. Maybe post the HTML code you're trying to achieve.

If you pass an array or discrete parameters to the add row method, you'll get a respective number of columns in that row:

Code:
$this->table->add_row(array('Fred', 'Blue', 'Small'));

I'm also not sure how pagination comes into play with the HTML Table Class
#3

[eluser]Yash[/eluser]
Show us some code
#4

[eluser]belbek[/eluser]
table has for ex. 1 field and at the moment i have 18 records, i need to have 3 pages that look like square i.e. 3x3 items (3 rows x 3 columns) with pagination. how to make it in a most effective way?




Theme © iAndrew 2016 - Forum software by © MyBB