Announcement

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

  • Is there a way to implement a listGrid saving/update/delete spinner like when the LG is loading?

    What is the correct way to display a busy spinner/message during long save/update/delete operations using a listGrid?
    It seems odd to me that there is a loading spinner and loading message for Read, but not similar indicators and messaging for the other CRUD operations

  • Isomorphic
    replied
    rpcRequest.promptStyle can be set anywhere you see DSRequest properties, so you can set it on the ListGrid.saveRequestProperties for example.

    Leave a comment:


  • mkramer
    replied
    Can you point me to an example of how I can set this option to be a modal dialog?

    Thanks!

    Leave a comment:


  • Isomorphic
    replied
    There is already a spinner behavior during save, in that the cursor changes during the operation - this is controlled by rpcRequest.promptStyle, and you have an option of a modal dialog instead, which contains text which could have a spinner icon.

    Replacing the ListGrid body with spinner content would generally be a bad idea as you are hiding the currently loaded data from the user. That's how fetch is different from other operations - there is no loaded data yet.

    Leave a comment:

Working...
X