Round corner with controls via DataTables vs Bootstrap 4
Round corner with controls via DataTables vs Bootstrap 4
Question 1:
Is it possible to have contols with round corners like those via Boostrap 4 below:
https://datatables.net/examples/styling/bootstrap4.html
I like the table below with stylings of 'display' and 'compact', and no border around navigation control.
https://datatables.net/examples/styling/compact.html
Qustion 2:
Is it possible to customise these in Boostrap 4, if question 1 is not possible?
Question 3:
What is the difference between DataTables and Bootstrap4 in terms of styling, and UI?
Answers
The last question is the big one - the differences are what you see between those two links you posted.
compact
is only applicable to DataTables styling, and those edges you like would only work on BS4.Colin
Is there any plan to add round corner to DataTables.net? or add > compact to BS4?
Bootstrap has a
table-sm
class which can be used to reduce the padding in the cells.The full Bootstrap documentation is available here.
On our fully bordered table? No - but you can readily add your own custom CSS to style as you wish.
Allan