using searchBuilder with export Buttons.
using searchBuilder with export Buttons.
BhavinBhatt
Posts: 27Questions: 9Answers: 0
buttons: [
'copy', 'csv', 'excel', 'pdf', 'print'
]
,dom:'QBfrtip'
shows 'AddCondition' Button with other export buttons.
Now I want to show popup while giving conditions for filtering to save space on page.
How to do this?
Answers
Sounds like you want to use the
searchBuilder
button type rather than theQ
option indom
.See this example. It doesn't use other button types, but they could be readily added to the array.
Allan
Thanks allan,
i've tried with putting only SearchBuilder Button. but it fires error... when click on that button...
Uncaught TypeError: this.popover is not a function
at s.action (dataTables.searchBuilder.min.js:119:422)
at k (VM351 dataTables.buttons.min.js:16:415)
at HTMLButtonElement.<anonymous> (VM351 dataTables.buttons.min.js:17:284)
at HTMLButtonElement.dispatch (jquery-3.0.0.js:5087:27)
at elemData.handle (jquery-3.0.0.js:4895:28)
action @ dataTables.searchBuilder.min.js:119
k @ VM351 dataTables.buttons.min.js:16
(anonymous) @ VM351 dataTables.buttons.min.js:17
dispatch @ jquery-3.0.0.js:5087
elemData.handle @ jquery-3.0.0.js:4895
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin