且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

添加jqGrid的自定义导航顶部的工具栏

更新时间:2023-01-04 10:52:48

OK,我好像找到了一种方法,看起来像更好。我们的想法是使用 navButtonAdd #list_toppager_left而不是#寻呼机

OK, it seems that I found a way which looks like better. The idea is to use navButtonAdd with the "#list_toppager_left" instead of "#pager".

我修改old回答这样,一个自定义按钮是在导航工具栏的上方加在一起有一个标准的按钮。从顶部导航工具栏的其他元素将被删除。会看起来像结果 添加jqGrid的自定义导航顶部的工具栏

I modified the old answer so, that one custom button are added on the top of the navigation toolbar together with one standard button. Other elements from the top navigation toolbar will be removed. The results will looks like

您可以看到相应的演示现场这里

You can see the corresponding demo live here.