【问题标题】:jquery jqgrid add navigator bar (search,delete,add ecc.)jquery jqgrid 添加导航栏(搜索,删除,添加ecc。)
【发布时间】:2011-07-22 17:14:32
【问题描述】:

我会在我的 jqgrid 上添加导航栏,如下所示:http://www.trirand.com/jqgridwiki/lib/exe/fetch.php?media=wiki:navigator1.png

      jQuery("#tabImprese").jqGrid({
                        url:'retrieve/imprese',
                        mtype:"POST",
                        postData: { limit:'10'},
                        datatype: "json",
                        height: 150,
                        .....
                        ....
                    }).navGrid('#tabImprese',
                    {}, //options
                    {reloadAfterSubmit:false}, // edit options
                    {reloadAfterSubmit:false}, // add options
                    {reloadAfterSubmit:false}, // del options
                    {} // search options
                );

这是我的代码,但在我的页面中我看不到任何内容,如您在 http://mongolera.dyndns.biz/projects/gestionalePreventivi/index.html 在印象标签中。

怎么了? 谢谢。

【问题讨论】:

    标签: jquery jqgrid navbar


    【解决方案1】:

    您使用navGrid('#tabImprese',...); 而不是navGrid('#pagerImprese',...);

    【讨论】:

      猜你喜欢
      • 2014-06-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-21
      • 1970-01-01
      • 2016-04-04
      • 1970-01-01
      • 2016-01-16
      相关资源
      最近更新 更多