DataTables 1.10 > Library |
I just pushed a new DataTables library that I created for a project I have been working on. It is well documented on github. Head on over and let me know what you think.
https://github.com/zepernick/Codeigniter-DataTables Features
Here is a example of the Controller. PHP Code: class DataTableExample extends CI_Controller {
Very nice done, thx for sharing to the community!
Can you provide a working online example? That's what most user want to check before they use a library ^^.
Sure, not a problem. I will get a working example together this weekend and update this thread. Thanks!
As promised, here is a full working example using CI 3. The library has been primarily run on CI 2, but thought I would use this as an excuse to check out CI 3. There is a download link on the top right of the menu which will download the entire example application.
I must say that the DB Queries seem much quicker. That was the first thing I noticed. Great job guys, and I look forward to the upcoming release!
Thank you for the working demo. As i noticed the datatable is produced by ajax. Would it be possible to build the table also as html (that is what i do normaly on my templates because seo for google).
The library is only doing the backend JSON for DataTables. It will not write pure table HTML. What are you looking for the library to do with the HTML table? Paging and Sorting with no Ajax?
I was looking for something like this for a few days ... Any options for CRUD functions ?
Website : www.my-web-projects.com
(02-03-2015, 08:11 AM)GrigoreMihai Wrote: I was looking for something like this for a few days ... Any options for CRUD functions ? It does not have anything built in to help with the inline editing. It handles the server side calls for the Ajax functionality of DataTables. It would be a alternative to IgnitedDataTables. DataTables has the ability to append extra columns in the JavaScript and attach events for things such as deletion. You can just use another CI Controller to do the delete and call the refresh on the table. Just as an example... Not entirely sure I know what you are wanting to do with CRUD other than have complete inline editing.
is it possible to make custom column that have an action button (for edit or delete) with this library ?
|
Welcome Guest, Not a member yet? Register Sign In |