Use Button to create a specific searchBuilder query
-
Hello, I want to create a button for a table I implemented that as “action” builds a searchBuilder with specific configurations.
I read the different informational sites (such as https://datatables.net/reference/option/buttons) but still ran into multiple problems.
The first one is the following and I need help solving this to make sure the other problems do not stem from it.
The way the Javascript commands are written do not work with my site. Example:
$(
'#myTable'
).DataTable( {
buttons: [
'copy'
,
'csv'
,
'excel'
]
} );
For my site, I typed into the “Advanced options” for the specific table this:
{
buttons: [ 'copy', 'csv', 'excel']
}
And it did not work. I had to type it in like this: to work
{
"buttons": [ "copy", "csv", "excel"]
}
What is this about and how can I use the grammar used on the informational sites so I can be sure I used the right commands?
The page I need help with: [log in to see the link]
- The topic ‘Use Button to create a specific searchBuilder query’ is closed to new replies.