Can I disable/hide TableTools Button?
Can I disable/hide TableTools Button?
Bennyxu
Posts: 22Questions: 3Answers: 0
in DataTables
Due to we are using the datatable/editor in workflow, and the approver should not edit/see those create/modify/delete button, maybe he need see copy button, the botton requirement is disable/hide all the buttons in TableTools, is there any parameter to set it? thanks
This discussion has been closed.
Replies
Read the docs:
http://datatables.net/release-datatables/extensions/TableTools/examples/alter_buttons.html
Thanks a lot, What's the different of DOM and sDOM, sDom is legacy elements?
where is the detail document how to use the DOM, for example,
dom: 'T<"clear">lfrtip', I can see tabletools is hidden, T<“clear"> means T will be hidden?
No -
T<"clear">
means that the TableTools element will be followed by adiv
element with a class clear. If you don't want TableTools buttons, just don't put theT
in thedom
parameter at all.Allan