How do I start using Datatables

How do I start using Datatables

drahcir77drahcir77 Posts: 7Questions: 2Answers: 0

I have a small mysql database that I already have the forms, php to do all the processing. I was wanting to use Datatables to help with some of my display and editing. How do I get started. Any one got an example and I will take the ball and run. I am using PDO to connect to Mysql

Answers

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    The basic example in the docs has everything you need to get started.

    http://datatables.net/examples/basic_init/zero_configuration.html

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin

    @drahcir77 - You can't reply by e-mail. Quoting what you stated in your e-mail:

    I saw this, but I guess my question is . How do I join this code with my current mysql php code ?

    To answer your question - does your current code output a table? If so, tangerine's link will show you how to initialise DataTables on it. if not, then I would suggest outputting a table.

    If you are interested in editing, check out Editor.

    Allan

This discussion has been closed.