tony

Forum Replies Created

Viewing 15 replies - 5,881 through 5,895 (of 7,981 total)
  • Author
    Replies
  • in reply to: two lines of text in column heading #86341
    tony
    Keymaster

    Hello,

    Here is the solution which works for me. (Little ugly only in basic theme)

    Open the grid.css file and correct the following lines:

    table.scroll thead tr th {

    height:18px;

    }

    to

    table.scroll thead tr th {

    height:auto;

    }

    table.scroll th div {

    height:18px;

    }

    to

    table.scroll th div {

    height:auto;

    }

    and finally

    table.scroll th span {

    height:18px;

    }

    to

    table.scroll th span {

    height:auto;

    }

    Do not forget to set the brake tag in colNames

    Enjoy.

    Regards

    Tony

    in reply to: $t.p.colModel is null or not an object #86339
    tony
    Keymaster

    Hello,

    Could not reproduce the error. Sorry.

    Regards

    Tony

    in reply to: expandSubGridRow #86338
    tony
    Keymaster

    Hello,

    I agree, the script is equivalent to the demo page, but why this does not work?

    Also put alert and see if it is lunched (before call expandSubGridRow) . If you have FireBug you can set to use the development version of jqGrid (not min version) and look in expandSubGridRow which is in grid.subgrid.js module.

    Regards

    Tony

    in reply to: Grid Forms and Select Boxes #86337
    tony
    Keymaster

    Hello,

    Not sure what you mean with chining, but it is simple and you can do

    beforeShowForm:function(form_id{

    in reply to: navigation buttons not displaying #86336
    tony
    Keymaster

    Hello,

    I have partial correct this bug. Will publish alfa 3 soon.

    Regards

    Tony

    in reply to: formedit default text field length – grid.common.js #86335
    tony
    Keymaster

    Hello,

    Thanks – IMHO the condition should be changed to:

    if(!options.size) {

    for password, and text

    and

    options.cols is for textarea.

    the parameter elm in createEl is not needed.

    The % should be equall to all. Thanks

    Regards

    Tony

    in reply to: Latest release bugs #86334
    tony
    Keymaster

    Hello,

    About the 3.5 alfa this is true (for IE browsers) and it is connected with the theme switcher and the way it works. If all themes are on your local machine this will not happen.

    About 3.4.3 demos – what is actually the error? Please be a more specific.

    Regards

    Tony

    tony
    Keymaster

    Hello,

    Thanks for this. It is true and will be fixed.

    Regards

    Tony

    in reply to: Celledit “leaking” edit boxes? #86332
    tony
    Keymaster

    Hello,

    Please provide a link to the problem. If possible do not load the min, but the development files of jqGrid.

    Regards

    Tony

    in reply to: Subgrid with multi select option and edit row #86331
    tony
    Keymaster

    Hello,

    Not sure what you do, but in my enviroment this work OK.

    To be more preciese you should do:

    jQuery(”#grid_id”).setGridParam({multiselect:false,selarrrow:[]}).hideCol('cb');

    Best Regards

    Tony

    in reply to: Full featured form editing on selected jqGrid row #86296
    tony
    Keymaster

    Hello,

    Actually you can use onInitializeForm (which is called only once) to bind events on the fields (including ajax loada and etc), the you can use beforeShowForm to show and hide some content (this can be separate for add and/or edit).

    I'm not sure, but in the forum you can find such solution.

    Regards

    Tony

    in reply to: Validations while using formEdit in jqGrid #86293
    tony
    Keymaster

    Hello,

    beforeSubmit: function (postdata, formid) {

    if (parseFloat(postdata.A) < parseFloat(postdata.B) {

    return [true,””,””];

    } else {

    return [false,”Value A should be little than B”,””];

    }

    }

    Regards

    Tony

    in reply to: Chained select box in dialog form #86292
    tony
    Keymaster

    Hello,

    In onInitializeForm is the right place to do this. Could you please post the code?

    Regards

    Tony

    in reply to: navigation buttons not displaying #86291
    tony
    Keymaster

    Hello,

    Which version of jqGrid? – if this is 3.5 alfa there is a problem when the grid is enclosed in initial hidden element.

    Regards

    Tony

    in reply to: Pb in edit et add form #86290
    tony
    Keymaster

    Hello,

    It is not true. Your problem is that when you call the add this is happen and from this point the column is hidden, since the edit and add use the same form.

    The solution. On both actions use the onInitializeForm and then on both use a beforeShow event – for add hide this for edit show it (or vice versa).

    Regards

    Tony

Viewing 15 replies - 5,881 through 5,895 (of 7,981 total)

Stay connected with us in your favorite flavor!