tony

Forum Replies Created

Viewing 15 replies - 6,466 through 6,480 (of 7,981 total)
  • Author
    Replies
  • in reply to: Multiple/Mass Row Edit #85010
    tony
    Keymaster

    Hello,

    Check the example page – Custom editing with a buttons.

    Regards

    Tony

    in reply to: $t is undefined #85009
    tony
    Keymaster

    Hello,

    Use FireBug to determine if you load all the needed javascript files.

    Regards

    Tony

    in reply to: JSON format r .NET not working? #85008
    tony
    Keymaster

    Hello,

    IMHO using datatype json will return the data in json format and not post it as json. For more info refere to jQuery ajax paramaters.

    You can use onclickSubmit event for this purpose. This event should return array which is passed to the request.

    Regards

    Tony

    in reply to: Pager missing rowcount and # pages in subgrid #85007
    tony
    Keymaster

    Hello,

    Do you have set viewrecords : true in the subgrid? By default this is false.

    Thank you for the second issue. Yes, the steel theme is brand new and it needs to be refined.

    Regards

    Tony

    in reply to: Grid not loading in IE7 #85006
    tony
    Keymaster

    Hello,

    Plese explain wich version of jqGridf do you use? Also do you use minified or dev version?

    Regards

    Tony

    in reply to: Multiple bugs #85005
    tony
    Keymaster

    Hello,

    Which version of jqGrid do you use?

    Tray to use the latest one. If you use previous versions this bug exists.

    Regards

    Tony

    in reply to: Add in colmodel default values #84989
    tony
    Keymaster

    Hello,

    jQuery(”#fechainginventario”).val(”45″);

    in reply to: cell editing technique. #84988
    tony
    Keymaster

    Hello,

    saveCell saves the current edited cell. If you try to save some cell dynamically you can use getCell method – something like

    $(“#mybutton”).click(function(){

    var rowid = $(“mygrid”).getGridParam('selrow'); //get the id of the current selected row. Can be a other thing.

    var myceldata = $(“mygrid”).getCell(rowid,myiCol);

    $.ajax({…}); //post your data here

    });

    in reply to: customize pager #84984
    tony
    Keymaster

    Hello,

    Your code will not work. I will try to set these as template.

    Regards

    Tony

    in reply to: navGrid disappear in online project?! #84983
    tony
    Keymaster

    Hello,

    Use FireBug to see if all js files are loaded.

    Regards

    Tony

    in reply to: problem with columns sorting and paging #84982
    tony
    Keymaster

    Hello,

    1. It is a good idea to check you server side code when you try to sort and navigate between pages. The grid accept the data what is returned from the server. If you do not return the right values when you sort then you can not expect good behavior. And this is not from jqGrid.
    2. If you set rowNum to 10 then your server should return 10 rows (or less and not greater) and nothing more. If you set rownum 10 and you return 24 that is the problem of the server side code.

    Regards

    Tony

    in reply to: Post multiselect grig #84981
    tony
    Keymaster

    Hello,

    Use getRowData – and the documentation. It will be a good start.

    Regards

    Tony

    in reply to: How to use afterSubmit #84980
    tony
    Keymaster

    Hello,

    Use eval to to parse the string to json data.

    Regards

    Tony

    in reply to: Making Grid Always Editable and Submitting All Rows Back #84979
    tony
    Keymaster

    Hello

    How you try to “view the data”? – getRowData is not compatible with the editing mode. Also serch the forms foor this.

    Regards

    Tony

    in reply to: Add Modal Form #84978
    tony
    Keymaster

    Hello,

    $(“#mygrid”).navGrid('#mypager',{edit:true, add:true,…},

    {}, // edit parameters

    { afterComplete: function(data, postdata, formid) {

    // you can get here the id of the needed subgrid, or simple

    $(“#subgrid”).editGridRow(“new”,params);

    }

    } // add parameters

    ….

    });

Viewing 15 replies - 6,466 through 6,480 (of 7,981 total)

Stay connected with us in your favorite flavor!