How to remove the extra space after table heading, in datatables which has scrollbar and filter?

巧了我就是萌 提交于 2019-12-13 06:25:28

问题


I'm using datatables.net library. There is a gap between table header and the table body, if I add scrollbar. Is there any way to remove it? Also, is there a way to move the searchbox to the left, and remove the text "Search:", and instead add it as a place holder within the textbox?


回答1:


I'm not familiar with that library but I do know that one can easily modify CSS to achieve the desired layout. Please check their documentation about styling http://datatables.net/styling/



来源:https://stackoverflow.com/questions/11816649/how-to-remove-the-extra-space-after-table-heading-in-datatables-which-has-scrol

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!