开发者

How to increase cell padding in jquery datatables?

开发者 https://www.devze.com 2023-04-13 04:25 出处:网络
I am using jQuery DataTable plugin. Is there any option to increase cell padding or cell spacing in tables.

I am using jQuery DataTable plugin. Is there any option to increase cell padding or cell spacing in tables.

开发者_如何学JAVA

Thanks


table.dataTable td {
    padding: 10px;
}


Yes you can. Go to http://www.datatables.net/ref and look for sClass. This option allows you to add a class to a cell. The class will style the cell however you want it to.


Short-Answer: No http://www.datatables.net/ref

0

精彩评论

暂无评论...
验证码 换一张
取 消