postb99

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • postb99
    Participant

    Answering to myself : I got it when I realized editoptions value was written as a dictionary rather than an array. So this means unordered and it's logical there is values sorting then.

    I will modify my data and prefix my values so than natural order fits my needs.

    Question to developers : why not pass values as an array rather than a dictionary json to display in dropdown list ?

    Regards

    in reply to: saveRow when checkValues fails #93382
    postb99
    Participant

    Hello,

    OK I understand what you mean and am trying to modify my code to do it this way.

    Since I post to 'clientArray', the aftersavefunc is called with two arguments, the first being the row id, the second “true”.

    How can I get my jqGrid id in the aftersavefunc ? I need it to be passed to my ajax server call the aftersavefunc does.

    I also have a problem with some specific data (some reference values related to the page that contains one or several jqGrids) I know the value of this data when I execute saveRow, but I cannot pass its value to the aftersavefunc. How can I do it ?

    I don't know why we chose to post to 'clientArray' but I guess this is related to the specific data we get here and there (they're computed server-side when we generate the javascript) and that are needed to make the save ajax call (contextual information).

    Thank you for your input.

    Barbara

    in reply to: Cancel event bubbling for onSelectRow #92617
    postb99
    Participant

    Hello,

    When I tried to apply the solution proposal in my code (a cell's content is some clickable image, with JqGrid 3.6.2), since inline event such as didn't work (returning false doesn't cancel event bubbling), I tried to add an inline script and stumbled into a new problem : the jqGrid “td” title is set to td content filtered by jgrid.striphtml function. When I have a blah piece of code, it keeps “blah”.

    Would it be smart to have

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

Stay connected with us in your favorite flavor!