Search + Row Select + Tabletools Buttons + Editor Buttons + Pagination Code
Search + Row Select + Tabletools Buttons + Editor Buttons + Pagination Code
MattD
Posts: 27Questions: 2Answers: 0
I'm looking for an example .js file which has the tabletools standard copy / print / save, editor functions, row select, search, and the bootstrap or four button pagination (or any of them). I can get them all to work independently but not together. If someone would be so kind as to post a javascript file with all of these or at least some of them I would greatly appreciate it. I'm using Bootstrap 3 and all the latest versions of DataTables software from Github.
With Editor in play, the row function completely disappears, yet the search is there. I can't get TableTools buttons and Editor to work properly in the code. Additionally I can't figure out how to remove the search box exterior text (I have it inside.)
I'm not sure if this is due to not positioning things correctly or something else.
With Editor in play, the row function completely disappears, yet the search is there. I can't get TableTools buttons and Editor to work properly in the code. Additionally I can't figure out how to remove the search box exterior text (I have it inside.)
I'm not sure if this is due to not positioning things correctly or something else.
This discussion has been closed.
Replies
In TableTools, the `aButtons` array defines the buttons to be displayed. So you might use something like:
[code]
"aButtons": [
{ "sExtends": "editor_create", "editor": editor },
{ "sExtends": "editor_edit", "editor": editor },
{ "sExtends": "editor_remove", "editor": editor },
'copy',
'csv',
'print'
]
[/code]
Regards,
Allan