tony

Forum Replies Created

Viewing 15 replies - 6,346 through 6,360 (of 7,981 total)
  • Author
    Replies
  • in reply to: navGrid in footer and header #85294
    tony
    Keymaster

    Hello,

    You can use the toolbar option and define your custom buttons. Check the example page.

    Regards

    Tony

    in reply to: colNames colModel in JSON or XML #85293
    tony
    Keymaster

    Hello,

    If your PHP code construct the grid you can easy do that. You can make you own ajax call to get the names and model from server and after that to construct the grid. If you try to update the existing grid you can do grid unload method and then repeat the procedure descriped above. As alternative you can use the new grid import features – check 3.4 beta

    Regards

    Tony

    in reply to: Problem with print selection in grid #85292
    tony
    Keymaster

    Hello,

    It is not jqGrid problem. Also you need to check the media property of the jqGrid CSS.

    Regards

    Tony

    in reply to: getGridParam(‘selarrow’) behaving weirdly #85274
    tony
    Keymaster

    Hello,

    It is definitley a bug. Thank you. Fixed.

    Regards

    Tony

    in reply to: No data shown with multiselect #85261
    tony
    Keymaster

    Hello,

    You should upgrade to jqGrid 3.4 beta in order to work with jQuery 1.3.1

    in reply to: client side JSON and SortGrid behaving oddly! #85259
    tony
    Keymaster

    Hello,

    Thanks – it is really a bug. I fixed this. Also in the code I make comparations only for datatype local and not for clientSide.

    Also to correct quick a bug here is the code:

    tony
    Keymaster

    Hello,

    Maybe it is a good idea to learn how to get values from JS object. Sorry if this make you something wrong, but expression of type:

    rowdata:x_parent_objid does not exists at all in JS – you should do something like this:

    note the . and not :

    if ( parseInt(rowdata.x_parent_objid) > 0 && rowdata.x_parent_type !== 'children') {

    // do something here

    }

    tony
    Keymaster

    Hello,

    You should not copy paste the code from here, but understand what I try to expalin.

    Here is a working example tested on my demo:

    $("#mygrid").jqGrid({

    ...,

    afterInsertRow : function(rowid,rowdata,rowelem) {

    $("#"+rowid+" td:eq(0)").empty().unbind("click");

    },

    ...

    });

    Hope this helps

    Regards

    Tony

    in reply to: How to do custom rendering for a cell? #85247
    tony
    Keymaster

    Hello,

    Yes you missed this feature. The feature is named formatter, available in jqGrid 3.4 beta. Check the readme how to use.

    Regards

    Tony

    in reply to: dynamically change theme #85246
    tony
    Keymaster

    Hello,

    Maybe you need to use a styleswitch plugin – In my demo I use

    those from Kelvin Luck ( http://www.kelvinluck.com/ )

    Regards

    Tony

    in reply to: Inline Editting Problem #85242
    tony
    Keymaster

    Hello,

    In grid.inlinedit.js find

    in reply to: GroupBy feature #85240
    tony
    Keymaster

    Hello,

    Thanks for the code. Could you please send me the code to: tony at trirand dot com. It is maybe the first step for this feature.

    Best Regards

    Tony

    in reply to: client side JSON and SortGrid behaving oddly! #85239
    tony
    Keymaster

    Hello,

    Could you please point me where is the difference to correct this? Thank you.

    Also when you use the date sorting it is a good idea to use the datefmt option to thell the grid what is the format for the date to sort it in right way. The dafault option of datefmt is Y-m-d. Is this your format? If not you will have bad sorting.

    Also this is described in the docs: Basic Grid -> Properties->colModel Properties

    Best Regards

    Tony

    in reply to: jqgrid and special characters: & #85238
    tony
    Keymaster

    Hello,

    Thanks. I will fix this in the final 3.4

    Regards

    Tony

    in reply to: add/edit/delete issue: type of rowid is string #85237
    tony
    Keymaster

    Hello,

    What you mean rowid as string?

    Regards

    Tony

Viewing 15 replies - 6,346 through 6,360 (of 7,981 total)

Stay connected with us in your favorite flavor!