How to hide border at header title grid in jqgrid?

泪湿孤枕 提交于 2019-11-28 06:20:15

问题


How to hide border at header title grid in jqgrid? for examples : colNames:['Name','Address','School']


回答1:


If I understand you correct you want to have the following column headers

instead of the standard

In the case can use transparent borders:

<style type="text/css">
    th.ui-th-column { border-right-color: transparent !important }
</style>

see the corresponding demo here. The demo still display the hovering effect in the column headers:

UPDATED: If you don't want to use !important attribute you can use the following alternative

.ui-jqgrid-labels .ui-th-column { border-right-color: transparent }


来源:https://stackoverflow.com/questions/6992138/how-to-hide-border-at-header-title-grid-in-jqgrid

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