Datatable icon indicating copy to clipboard operation
Datatable copied to clipboard

Version 1.10 needs to be treated as a first class citizen.

Open timgws opened this issue 10 years ago • 0 comments

Version 1.10 of jQuery Datatables has been released in May, 2014 and Datatables still does not properly support it.

I want to have support for 1.10 done by the end of the week. The plan is:

  1. Create a new class (Chumper\Datatable\InputEngine) which when initialized will determine if the query needs to be handled by Datatables (Datatable::shouldHandle) and will choose a class that implements the Chumper\Datatable\Response\VersionResponse interface.
  2. Create two implementations of the VersionResponse interface, one for v1.9, and another for v1.10.
  3. Abstract away all of the ordering, searching and limiting code away to the class implementing the VersionResponse interface
  4. Update the existing two engines to use the new VersionResponse implementations to get their ordering.
  5. Create a function inside VersionResponse that allows outputting data that the Datatables will be able to render.

timgws avatar Sep 09 '15 06:09 timgws