Does Flexgrid Update Require the Server to Return ALL data?

Posted by: ronok on 25 May 2018, 4:17 am EST

    • Post Options:
    • Link

    Posted 25 May 2018, 4:17 am EST

    I have a flexgrid with an items-source with CRUD urls. I have a simple cell-edit-ended that calls

    .collectionView.commitEdit();
    

    This sends the current row up to the server where it is processed. The process then returns ALL the updated data and the grid refreshes.

    It works fine, except it seems like overkill as the grid gets more and more rows to send back the entire grid’s worth of data for each edit.

    Is there a way to have the server method only return the updated row? Just wondering?

  • Posted 27 May 2018, 7:47 pm EST

    Hi,

    When a row edit is ended or commitEdit method gets called, the changes sent to the server for update. Once the update process is completed, the fresh records are fetched and send to the clients to provide updated data.

    If you would like to update only one row, you should use ajax binding. You should call update method on rowEditEnded and update to server.

    ~Manish

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels