jqGrid中的工具栏? [英] toolbar in jqGrid?

查看:173
本文介绍了jqGrid中的工具栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在jqGrid中创建一个工具栏,只使用通常在寻呼机上的按钮.

I would like to create a toolbar in jqGrid with only the buttons that usually are on the pager.

目前我有以下定义

$("#foroGrid").jqGrid('navGrid', '#pager',
    { add: true, addtitle: 'Add Foro',
        edit: true, edittitle: 'Edit Foro',
        del: true, deltitle: 'Delete Foro',
        refresh: true, refreshtitle: 'Refresh data',
        search: true, searchtitle: 'Show Filters', 
        addfunc: addForo, editfunc: editForo, delfunc: deleteForo },
    {}, // default settings for edit
    {}, // default settings for add
    {}, // default settings for delete
    { closeOnEscape: true, multipleSearch: true, closeAfterSearch: true }, // search options
    {}
);

并且我需要添加其他功能,例如"CSV导出","PDF导出",打印"等等...

and I have the requirement to add other functions like "CSV Export", "PDF Export", "Print", and so on...

事实证明,空间将满,我想在顶部的工具栏中移动按钮,同时让带有导航器的寻呼机并在底部记录计数信息.

It turns out that the space is going to be full and I would like to move the buttons in a toolbar on the top while still having the pager with navigator and record count info on the bottom.

是否可以使用jqGrid实现此配置?

Is it possible to achieve this configuration with jqGrid?

推荐答案

查看

Look at this old answer of mine. It seems to me, that it does exactly what you want.

这篇关于jqGrid中的工具栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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