PWT

Forum Replies Created

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • in reply to: Data doesn’t appear at first time with form editing #99261
    PWT
    Participant

    Hi again,

    Just went through the source code of JQGrid to understand my problem.

    I think I found out why it doesn't show data, but maybe there is something else to do to make it work ?

    When the form is constructed with “EditGridRow” function, the “CreateData” function is called, which calls the “$.jgrid.createEl” function. If edittype is “custom”, this method bind the HTML element but doesn't set up the value. So, this why the custom element doesn't show any data at first when the form is displayed. Should CreateEl function binds value data also or should it be done somewhere else ?

    For the time being, i use the custom_element method to call custom_value and therefore set the value. Is the way it is supposed to be used ?

    Thanks !!

    Pierre

Viewing 1 replies (of 1 total)

Stay connected with us in your favorite flavor!