Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    how to send multiple record values to the server

    Hi


    I want to know how to send multiple rows at once to the server in a list grid?
    though the log message says it has gone to the server there is noway i can retrieve it getOldvalues() and getOldvalueSets() returns a map and a list. but
    none of them can retrieve multiple rows send to the server how come?
    please advice if you have a way to do this

    Regards
    Shivantha

    #2
    Sounds like you want to suppress auto-save to the server on row edits and send it as one batch at some later time - correct? If so, you can set the following on the grid:

    Code:
    autoSaveEdits: false
    docs here:

    http://www.smartclient.com/docs/6.0/....autoSaveEdits

    And at a later time call:

    http://www.smartclient.com/docs/6.0/...d.saveAllEdits

    ...to actually save the records. Makes sense?

    Comment

    Working...
    X