Could someone help me learn if DataTables is right for my needs?

Could someone help me learn if DataTables is right for my needs?

thirtywestthirtywest Posts: 1Questions: 1Answers: 0

Hello, first time posting.

Can someone tell me if this product is worth the time to learn for the following needs:

  1. I have a mySQL query I've been running through a simple php file and exporting to excel.
  2. I have a few users that do NOT need to edit the data there--only view; and
  3. be able to do multi-column sorting; and
  4. export those results to something like a .csv or .xls. with a download button
  5. I need to be able to access this through a normal browser and include a close/signoff/exit button as well.

Any help would be most appreciated.

Thanks!

Answers

  • kthorngrenkthorngren Posts: 21,351Questions: 26Answers: 4,955

    Datatables can help with all these:

    1. Use an Ajax query to the server to fetch the data. Here are some Ajax examples.
    2. Datatables will display the table. You can use the Editor if you need editing capabilities for some users.
    3. Supports multi column sorting. See the orderMulti docs for details.
    4. The Buttons extension supports CSV, Excel and other export options. See the examples page.
    5. "include a close/signoff/exit button as well." Not sure what this specifically means but you can create Custom buttons to perform any action you want.

    Please post any questions.

    Kevin

Sign In or Register to comment.