在JQGrid中显示Twitter Bootstrap下拉菜单 [英] Show Twitter Bootstrap dropdown menu inside JQGrid

查看:60
本文介绍了在JQGrid中显示Twitter Bootstrap下拉菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用自定义单元格格式化程序向每个JQGrid行添加了twitter bootstrap下拉菜单.当我单击菜单时,它并不完全可见.我应该采用哪种样式在JQGrid行的顶部显示下拉菜单?

I added twitter bootstrap dropdown menu to each JQGrid row using custom cell formatter. When I click the menu it is not fully visible. What style should I apply to show the dropdown menu on the very top of JQGrid row?

HTML:

<td role="gridcell" style="" title=" Actions   Update Delete" aria-describedby="jqg1_actions1">
   <div class="btn-group pull-right open">
      <div class="dropdown-backdrop"></div>
      <a class="btn dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-bell"></i> Actions  <span class="caret"></span></a>
      <ul class="dropdown-menu">
         <li><a href=""><i class="icon-bell"></i> Update</a></li>
         <li class="divider"></li>
         <li><a href=""><i class="icon-bell"></i> Delete</a></li>
      </ul>
   </div>
</td>

推荐答案

为我工作,方法是将style="position:absolute"添加到第一个div

Worked for me by adding style="position:absolute" to first div

这篇关于在JQGrid中显示Twitter Bootstrap下拉菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆