0
    $("#flex1").flexigrid(
    {
        url: 'http://xyz.com', 
        dataType: 'json',

        buttons : [
            {name:'Delete', 
            bclass: 'delete', 
            onpress: deleteitem},
            {name:'Add New Manufacturer', 
            bclass: 'add', 
            onpress: additem}
        ],
        searchitems : [
            {display: 'Manufacturer', 
             name : 'manufacturer_name', 
             isdefault:true},
            ],
        sortname: "mid",
        sortorder: "asc",
        usepager: true,
        title: '<?=$this->pageHeading?>',
        useRp: true,
        rpOptions: ['20','30','40','10'],
        rp: $("#rp").val(),
        showTableToggleBtn: true,
        singleSelect : true,
        height: 265,
        width: 1000,
        autowidth:false
    }
    ); 

在 Flexigrid 中,rp 选项通常是我们在上面定义的下拉菜单。我们如何将其更改为输入框?

4

0 回答 0