I’m using jTables(http://www.jtable.org/), its a grid plugin.
all it does is call a controller action that has a sql command (which is in a model). it uses GET to handle things like paging, sorting, etc. which I use $this->input->get() to get those values.
the code itself is simple.
I have other ajax code that works fine, but its also homebrewed so I built it to handle CI’s CSRF.
I’m willing to use another grid plugin if i have to, but I’d really prefer not to as this suit my needs the best out of the limited choices out there. I probably go through the plugin’s code tonight and see if I can tweak it.