hello
Edit: newest version 1.10.16 is here: https://www.drupal.org/node/2919790
this version is obsolete
i changed many thing to support newest version datatables 1.10.x
donwload version 1.10 https://datatables.net/download/download into site site/all/libraries
now it support
- theme :
- Bootstrap
- Foundation
- jQuery UI
- Semantic UI
- Extentions :
- AutoFill
- ColReorder
- FixedColumns
- FixedHeader
- KeyTable
- Responsive
- RowReorder
- Scroller
- Select
- Buttons
- Multi filter
- support ajax and Server-side. use module data source to export jsonp
I'm working for Column visibility, I have no idea why extension Buttons doesn't work on my machine
it must like this https://datatables.net/extensions/buttons/examples/styling/bootstrap.html
test and debug please . Drop me some line if you have idea for Extension Buttons (it replaces extras tableTools)
some bug for combo datatables
- FixedColumns (Left or right) + FixedHeader (header) doesn't work but FixedColumns + FixedHeader(footer) works fine
- Multi filter doesn't work if you type quick
Comment | File | Size | Author |
---|---|---|---|
#14 | datatables_1.10.13.patch | 53.01 KB | lazzyvn |
#9 | datatables 1.10.13.zip | 25.27 KB | lazzyvn |
#9 | Capture d’écran 2017-07-02 à 17.49.47.png | 83.55 KB | lazzyvn |
Capture d’écran 2017-01-22 à 01.41.44.png | 72.7 KB | lazzyvn | |
Capture d’écran 2017-01-22 à 01.42.23.png | 59.3 KB | lazzyvn |
Comments
Comment #1
lazzyvn CreditAttribution: lazzyvn commentedFinally i find out why extensions Buttons doesn't work
- change datatable = $(selector).dataTable(settings); (v 1.9) to datatable = $(selector).DataTable(settings); (v 1.10) (i lost one day to change d -> D :))
- TableTools is retired if i port to version 1.10 is have some issue so that's why i create version only v1.10
Comment #2
lazzyvn CreditAttribution: lazzyvn commentedComment #3
lazzyvn CreditAttribution: lazzyvn commentedComment #4
lazzyvn CreditAttribution: lazzyvn commentedComment #5
lazzyvn CreditAttribution: lazzyvn commentedComment #6
lazzyvn CreditAttribution: lazzyvn commentedComment #7
lazzyvn CreditAttribution: lazzyvn commentedComment #8
lazzyvn CreditAttribution: lazzyvn commentedComment #9
lazzyvn CreditAttribution: lazzyvn as a volunteer commentedHello,
I add
- support ajax data for large data
- filter with selection option
- Langague
- More option for style pager
Comment #10
rivimeylazzyvn many thanks for your work. However, if you are hoping someone will commit this to the module, you should:
- post a difference file (patch) to the existing module, to enable reviewers to see what's changed;
- set status to 'needs review' and then if a reviewer sets 'needs work', update the patch the patch and re-set to 'needs review'.
Comment #11
lazzyvn CreditAttribution: lazzyvn as a volunteer commentedoh i did it with my custom module for longtime ago and my custom module only works for version 1.1x I changed 80% module origin
i dont think it will compatible for another one I think new branch and new version for version 1.10.x
Comment #12
rivimeyOk then. I think the right thing to do is close it.
Comment #13
lazzyvn CreditAttribution: lazzyvn as a volunteer commentedwhy you want close it? i think somebody need support some new plugin for datatables like bootstrap, ajax...
Right thing is create new version i dont know how to create it
Comment #14
lazzyvn CreditAttribution: lazzyvn as a volunteer commentedI create patch for version dev
Comment #15
geek-merlinSo it has a patch to test.
Comment #16
ar-jan CreditAttribution: ar-jan as a volunteer commentedThanks lazzyvn!
Some notes (including perhaps general ones not specific to this patch, since I haven't used this module before).
- Patch applies correctly to 7.x-1.x-dev
- A dependency on libraries module might be useful - I placed the datatables library in sites/all/libraries, but didn't have the libraries module enabled.
- The status page could show the installed library version.
- If this patch becomes a new branch (no idea), perhaps sites/all/libraries should become the only supported mechanism for loading the library?
- Initially I got
TypeError: $(...).val(...).attr(...).on is not a function
, and didn't get the filtering functionality working. This appears to be because the on() function requires jquery 1.7.1. I installed jquery_update, configured jquery v. 1.10 and then it started working.Cheers
Comment #17
ar-jan CreditAttribution: ar-jan as a volunteer commentedAh, a few more things (again, not sure if this is specific to this port or not, maybe they should be feature requests):
- Multi-filter only works when "Enable the search filter box" is also enabled. Would be good if they can function independently.
- Typing some multi-filter search text always also sorts the column, if sorting is enabled. It would be great if clicking in the multi-filter search box did not trigger sorting, and only clicking on the column name would.
- Column width resizing didn't work for me.
Comment #18
lazzyvn CreditAttribution: lazzyvn as a volunteer commentedI remember datatable 1.10.x is support jquery 1.8+
another plugin, add on, extensions must be place in sites/all/libraries/datatables/extensions (with version 1.10.x and "extras" in version 1.9)
download newest version with check all option https://datatables.net/download/index remove version exemple FixedHeader-3.1.3 -> Fixedheader
=> sites/all/libraries/datatables/extensions/FixedHeader
Multi-filter you got 2 options HEADER and FOOTER
If you choose header you will have bug with sorting (this issue native datatable i reported it i hope it will fix in version 1.10.20)
but you can use filter at footer it works fine
Column width resizing? what is it? i use bootstrap so it is reponsive native
Comment #19
lazzyvn CreditAttribution: lazzyvn as a volunteer commentedupdate new version https://www.drupal.org/node/2919790
this version is obsolet