OlegK said:
Hello!
Here I describe an workaround for the closeAfterReset setting.
Best regards
Oleg
Ah… I figured out why, but this points on a certain shortcoming of the jqGrid. In case of multiple select, jqGrid joins (when formatting with $.fn.fmatter.select) and splits (when unformatting with $.unformat.select) value lists by comma, which is hardcoded and cannot be changed. In my case, I had commas in values, which of course confused unformatter.
So would be nice if this separator could be specified via options.
as from some moment (I think later than official 4.3.1 release), the github version of grid.formedit.js
Maybe I dont' understand something, but why
I don't know if this applies to your case, but I had the same issue, and after spending a day on scratching my head and then half an hour on debugging jqGrid, I have found that it ignores scrollOffset whenever height you specify for the grid is not a strict integer, like “20em” for example:
if(isNaN(ts.p.height)) {
} else {
aw -= scw; // =ts.p.scrollOffset
hs = true;
I had the same issue, and after spending a day on scratching my head and then half an hour on debugging jqGrid, I have found that it ignores scrollOffset whenever height you specify for the grid is not an integer:
if(isNaN(ts.p.height)) {
} else {
aw -= scw; // =ts.p.scrollOffset
hs = true;
excuse me, what do you mean? I use 3.4.4, and no parameters are passed to loadComplete. Or do you mean it's added to 3.4.5?
Don't really get what you mean, but anyway I only suggested to fix the inline/cell editing.
Just found one more place that would need fixing should you consider it possible to include, in grid.celledit.js, line #89, for example like this:
window.setTimeout(function () { $(elc).focus(); $('input',elc).focus(); },0);
thanx for the tip, will use it as a workaround.
But in my opinion, in future versions of jqGrid the alignment of header cells should by default follow the colModel specifications, do you agree?
tony said:
We have as options
otter said:
it would be fine to disable the auto generating title.
someone you want your own titles in a data field (images with alt tag …)
otter
I'd like to echo this request, in a very simple way. First of all, I don't need tooltips that just replicate the same textual contents of the cells (kinda stupid); and secondly, if I use formatter: checkbox, for example, the title for such cells become “undefined”, which is not very nice 🙂
using setCell() method is not logical, because it is useful for updating a particular cell on demand; what I'd want is simply disabling title attribute generation globally or for the particular grid.
FredyC, you've touched a very actual problem, I think (and even saw on this forum) many users wishing, like me, to have the grid stretch the whole width of the container… Yeah, it's an old dilemma “resizable columns + scrollable tbody vs standard html-like table behaviour of 100% stretching”.
Please keep us updated about your findings, meanwhile I'm going to experiment in a similar vein, if I find any decent solutions I will share as well…
tony said:
Hello,
Which version do you use? There was a bug in previous versions. Use the last stable
Regards
Tony
I use the last stable (3.4.3) and the usage of three event callbacks is impossible due to, AFAIU, a bug in grid.formedit.js:
if ( $.isFunction('onInitializeSearch') ) { p.onInitializeSearch( $(“#srchcnt”+gID) ); };
if ( $.isFunction('beforeShowSearch') ) { p.beforeShowSearch($(“#srchcnt”+gID)); };
if($.isFunction('afterShowSearch')) { p.afterShowSearch($(“#srchcnt”+gID)); }
These checks always fail… Must have been
if ( $.isFunction(p.onInitializeSearch) )
etc… Correct?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top