简体   繁体   English

我如何删除HeaderButton JQGrid

[英]How do i remove HeaderButton JQGrid

Am setting the caption for the JQGrid and headerbutton appears; 设置JQGrid的标题并出现标题按钮; and how can remove this? 怎么能删除这个? Just need title to my grid. 只需要我的网格标题。 Headerbutton is to collapse/expand; 标题按钮是崩溃/扩展; but i don't need that. 但我不需要那个。

<a class="ui-jqgrid-titlebar-close HeaderButton" href="javascript:void(0)" role="link
style="right: 0px;">
<span class="ui-icon ui-icon-circle-triangle-n"></span>
</a>

您应该只使用相应的jqGrid选项

hidegrid: false

hidegrid: false; hidegrid:false; worked. 工作。 I have gone little long route to get the same behavior. 我已经走了很长的路,以获得相同的行为。

$('#results_div  div').find('.HeaderButton').hide();

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM