ing.fusto

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • in reply to: setGridParam(url) #82298
    ing.fusto
    Participant

    solved
    thanks and regards

    in reply to: buttons on the bottom bar #82288
    ing.fusto
    Participant

    solved,excuse me,
    thanks a lot
    salvatore

    in reply to: buttons on the bottom bar #82287
    ing.fusto
    Participant

    yes,
    i added a button whose onclick event fires jQuery(‘#list’).navGrid(‘#pager’), and then buttons appear, but how can they be displayed the firs time the grid appears?
    tnx and regards
    salvatore

    in reply to: buttons on the bottom bar #82278
    ing.fusto
    Participant

    hi Tony,
    excuse me again: i’m not able to display the refresh button on navigator: what am i missing? what have i to add to mu code ( comment #4) to display refresh?
    regards
    salvatore

    in reply to: buttons on the bottom bar #82262
    ing.fusto
    Participant

    excuse me, myCode

    $(document).ready(function(){
    $(“#list”).jqGrid({
    url:’index.cfm?event=listaDep’,
    datatype: ‘xml’,
    colNames:,
    colModel :[
    {name:’Id’,index:’Id’, width:20, align:’left’,hidden:’true’, xmlmap:’ID’},
    {name:’Deposito’,index:’Status’, width:200, align:’left’,xmlmap:’DEPOSITO’},
    {name:’Indirizzo’,index:’Tipo’, width:200, xmlmap:’INDIRIZZO’},
    {name:’Tipo’,index:’Tipo’, width:200, xmlmap:’TIPO’}],
    imgpath: ‘assets/css/jqgrid/themes/basic/images’,
    pager: jQuery(‘#pager’),
    rowNum:10,
    rowList:[10,20,30],
    altRows:true,
    sortname: ‘Deposito’,
    sortorder: “asc”,
    viewrecords:true,
    caption: “Depositi”,
    onSelectRow:function(rowId){
    var myRow = $(“#list”).getGridParam(‘selrow’);
    var id = $(“#list”).getRowData(myRow)[“Id”];
    $(“#id”).val(id);
    var deposito = $(“#list”).getRowData(myRow)[“Deposito”];
    $(“#deposito”).val(deposito);
    var indirizzo = $(“#list”).getRowData(myRow)[“Indirizzo”];
    $(“#indirizzo”).val(indirizzo);
    var tipo = $(“#list”).getRowData(myRow)[“Tipo”];
    $(“#tipo”).val(tipo);
    },
    xmlReader:{root:”depositi”,
    row:”deposito”,
    repeatitems:false,
    id:”ID”,
    page:”items>nPage”,
    total:”items>tPages”,
    records:”items>tRecords”}
    })
    })

    what am i missing to display buttons on #pager bar?
    tnx and regards
    salvatore

    in reply to: buttons on the bottom bar #82261
    ing.fusto
    Participant

    already done,
    i don’t understand were is my mistake: have i to add any specific option to colModel or somewhere to display these buttons?
    tnx and regards
    salvatore

Viewing 6 replies - 1 through 6 (of 6 total)

Stay connected with us in your favorite flavor!