Divider between Editor's button and other buttons.
Divider between Editor's button and other buttons.
luisrortega
Posts: 79Questions: 6Answers: 1
Hi,
I'm currently using the editor and just implemented copy, csv, and pdf buttons out of TableTools... Is there a way I can split (add a space between the New, Edit, Delete (from Editors) and the Copy, CSV, and PDF?
[code]
"oTableTools": {
"sRowSelect": "single",
"aButtons": [
{ "sExtends": "editor_create", "editor": ItemEditor },
{ "sExtends": "editor_edit", "editor": ItemEditor },
{ "sExtends": "editor_remove", "editor": ItemEditor },
// I'll like to add a space here! :)
"copy","csv","pdf",
]
},//oTableTools
[/code]
I'm currently using the editor and just implemented copy, csv, and pdf buttons out of TableTools... Is there a way I can split (add a space between the New, Edit, Delete (from Editors) and the Copy, CSV, and PDF?
[code]
"oTableTools": {
"sRowSelect": "single",
"aButtons": [
{ "sExtends": "editor_create", "editor": ItemEditor },
{ "sExtends": "editor_edit", "editor": ItemEditor },
{ "sExtends": "editor_remove", "editor": ItemEditor },
// I'll like to add a space here! :)
"copy","csv","pdf",
]
},//oTableTools
[/code]
This discussion has been closed.
Replies
Allan
Tks!
//css
.my_button_space_class{
margin-right :20px;
}
//javascript
"aButtons": [
{ "sExtends": "editor_create", "editor": ItemEditor },
{ "sExtends": "editor_edit", "editor": ItemEditor },
{ "sExtends": "editor_remove", "editor": ItemEditor , "sButtonClass": "my_button_space_class"},
"copy","csv","pdf"
]
[/code]