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
Hello,
Could not reproduce the error. Sorry.
Regards
Tony
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
Hello,
Not sure what you mean with chining, but it is simple and you can do
beforeShowForm:function(form_id{
Hello,
I have partial correct this bug. Will publish alfa 3 soon.
Regards
Tony
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
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
Hello,
Thanks for this. It is true and will be fixed.
Regards
Tony
Hello,
Please provide a link to the problem. If possible do not load the min, but the development files of jqGrid.
Regards
Tony
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
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
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
Hello,
In onInitializeForm is the right place to do this. Could you please post the code?
Regards
Tony
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
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
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top