snobo

Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Author
    Replies
  • snobo
    Participant

    OlegK said:

    Hello!

    Here I describe an workaround for the closeAfterReset setting.

    Best regards
    Oleg

    snobo
    Participant

    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.

    in reply to: onInitializeSearch is called twice #99491
    snobo
    Participant

    as from some moment (I think later than official 4.3.1 release), the github version of grid.formedit.js

    in reply to: multiselect rows uncheck when clicking previous row #99488
    snobo
    Participant

    Maybe I dont' understand something, but why

    in reply to: Space for vertical scrollbar grabbed by grid #99209
    snobo
    Participant

    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;

    snobo
    Participant

    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;

    in reply to: loadComplete – a xhr parameter to pass #87139
    snobo
    Participant

    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?

    snobo
    Participant

    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);

    in reply to: TH align according to the colModel align #86842
    snobo
    Participant

    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?

    snobo
    Participant

    tony said:

    We have as options

    in reply to: disable title #86749
    snobo
    Participant

    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.

    in reply to: Width and MSIE issue #86745
    snobo
    Participant

    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…

    in reply to: Search events #86658
    snobo
    Participant

    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?

Viewing 13 replies - 1 through 13 (of 13 total)

Stay connected with us in your favorite flavor!