• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sorting table, selecting amount of rows per page etc

Hey there, CI folks! Just started working with codeigniter and came across this problem.
So, basicly here's what I have to do (see attachment):

I have to fill the table with values from MySQL database. And it's kinda simple, I easily accomplished it with 'table' class like this:


I also added pagination.

And here's what a I have no idea how to implement:
1) allowing user to select amount of rows per page
2) sorting table values by clicking the titles in header row
3) adding 'Edit' and 'Delete' options and assigning them to the corresponding record in database

I would appriciate any possible help, like general tips or tutorial links.
Much thanks.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.