How to customize Toolbar without losing responsiveness?
How to customize Toolbar without losing responsiveness?
hds6825
Posts: 2Questions: 1Answers: 0
Hello,
Using this DataTable Example, I tried adding few more elements to the Toolbar but realized that the toolbar loses it's existing responsiveness (the Bootstrap's col-sm-3 classes
were lost).
How can I customize the Toolbar to have the required elements (see image attached) without losing it's responsiveness?
Thanks.
This discussion has been closed.
Answers
You might be misunderstanding the term "toolbar". In the example you used,
the toolbar is some additional HTML you provide yourself. It does not include the length menu, search etc.
You need to show your code to get more useful help.
@tangerine - Thanks for pointing that out. Here's what you require -
Here's my markup:
jQuery ready:
Can you link to a page showing the issue please? I don't understand why any classes would be removed. Also your code doesn't actually appear to be injecting a toolbar above - it isn't making use of it. And even if it weren't commented out, I don't see anything that would be inserting information into it. As I say, a test case would really be needed.
Thanks,
Allan