Announcement

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

    RPC / CustomDataSource

    Hi

    we are using smartgwtpro 2.5. hrome 17 / FF 8

    We have a problem with a listgrid. When we edit a row, the row disappears after edit, but the changes are saved to the datasource.
    We have analyzed rpc in developer console with your examples and with our custom datasource. In the response you have a parameter
    'operationType:"update"'.
    We read the javadocs and found in the package com.isomorphic.dataource.DSResponse the method setOperationType is available.
    But in our package there is no setOperationType available.... why is this method missing?

    You give in your example the whole recordset back. Is this necessary?

    Thanks

    Sacha
    Attached Files

    #2
    See the FAQ about grids not updating.

    setOperationType() is there, you have probably confused client and server-side docs - see QuickStart for the distinction.

    The earlier, simpler Custom DataSource examples send the whole recordset back, the later ones show paging. Read the descriptions of the samples and see the QuickStart Guide, Data Integration chapter for details.

    Comment

    Working...
    X