*NEW* CodeIgniter DataTables 1.10 Library

*NEW* CodeIgniter DataTables 1.10 Library

zepernickzepernick Posts: 32Questions: 7Answers: 0

Hi Everyone,

Thought I would share a new CI library I put together for DataTables. The project is on GitHub. I have a working demo at paulzepernick.com which also has a link to download the full demo project.

Replies

  • allanallan Posts: 61,706Questions: 1Answers: 10,102 Site admin

    Nice one! Thanks for sharing this with us :-).

    I've just added it to the DataTables "news" feed on the front page.

    Regards,
    Allan

  • zepernickzepernick Posts: 32Questions: 7Answers: 0

    Thanks Allan!

  • sunaryaapsunaryaap Posts: 4Questions: 0Answers: 0
    edited February 2015

    Sory Allan or zepernick, can u help me please.. :(

    How can I make this AutoNumber in datatables like http://prntscr.com/66jiz3

    More or less like this https://datatables.net/examples/api/counter_columns.html

    Thanks before. :)

  • zepernickzepernick Posts: 32Questions: 7Answers: 0

    Hi sunaryaap,

    I looked at the DataTable examples and I believe that this will provide what you are looking for.

    http://datatables.net/examples/api/counter_columns.html

  • sunaryaapsunaryaap Posts: 4Questions: 0Answers: 0
    edited February 2015

    Yes zepernick, but I found a bug, after I click page "2" Her number is lost.
    You can see http://prntscr.com/66qw0p

  • zepernickzepernick Posts: 32Questions: 7Answers: 0

    What does the code look like? It is working on the example page. I would recommend starting a new thread for this as well.

  • stichcomberstichcomber Posts: 24Questions: 6Answers: 3

    Wonder if you have any plans to wrap the Editor for Datatables into codeigniter? I am trying to get it to work in CI.

    Have this error Class 'DataTables\Editor' not found in /Users/metheuser/Dropbox/webserver/movingjapan/application/views/detail-wrap/admin/table.thisIsATest.php on line 22

    Not sure how to load the Class though... arrg.

  • allanallan Posts: 61,706Questions: 1Answers: 10,102 Site admin

    Wonder if you have any plans to wrap the Editor for Datatables into codeigniter?

    Not at the moment.

    The error you are getting suggests that the DataTables.php file hasn't been included as it should auto load the required classes (assuming the directory structure is not altered).

    Allan

This discussion has been closed.