Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82266

How to change buttons style (Bootstrap 4) for buttons outsides of "buttons" option

$
0
0

Link to test case: https://live.datatables.net/mohuvuji/1/edit
Debugger code (debug.datatables.net): NA
Error messages shown: NA
Description of problem: Hello,

I wanted to know if it was possible to change the style of a button (Bootstrap 4) for buttons that are not part of the default "buttons" group as can be done via the "dom" option.

I have seen this answer https://datatables.net/forums/discussion/comment/193757/#Comment_193757 and it works.

// Works if I uncomment this line      
//DataTable.Buttons.defaults.dom.button.className = 'btn';

But I prefer to do it from configuration if possible.

Also, if you have a look to the test case, you can see that searchBuilder button is cut on the right you you click on it.
Is this normal or is it a small aesthetic bug?

It misses the rounding border.


Viewing all articles
Browse latest Browse all 82266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>