How to hide border at header title grid in jqgrid?

后端 未结 1 995
暗喜
暗喜 2020-12-20 08:31

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

相关标签:
1条回答
  • 2020-12-20 09:02

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

    enter image description here

    instead of the standard

    enter image description here

    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:

    enter image description here

    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 }
    
    0 讨论(0)
提交回复
热议问题