职位的目的是什么?在jqgrid? [英] what the purpose of position:"last" in jqgrid?

查看:96
本文介绍了职位的目的是什么?在jqgrid?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对jqgrid有疑问,在jqgrid中定位"last"的目的是什么?

I have question about jqgrid, what the purpose of position:"last" in jqgrid?

有关更多详细信息,这是我的代码:

for more details, this is my code :

.navButtonAdd("#rowsTransaksi",{
        caption:"",
        buttonicon:"",
        onClickButton:function(){
        var datarow = {acctId: "", currency: "", amount: ""};
        //var su=jQuery("#Transaksi").addRowData(datarow,"last");
        var su=jQuery("#Transaksi").addRowData("X",datarow,"last");
        if(su) { jQuery("#Transaksi").setSelection('X') }
    },  ***position:"last"***

请帮助我,告诉我有关我的问题的解释.. =) 谢谢.

Help me please, tell me about explanation for my question.. =) Thanks.

推荐答案

来自

position :(第一个"或最后一个")按钮将被添加到的位置(即标准按钮之前或之后).

position: ("first" or "last") the position where the button will be added (i.e., before or after the standard buttons).

这篇关于职位的目的是什么?在jqgrid?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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