DataViews supports CRUD (create, read, update, destroy) data operations.
This demo shows how to apply remote data operations. To use remote data operations, implement callback methods to inform the dataView about the operation.
The callback methods only have one parameter. You can use any transport protocol in the callback.
If the callback is successful, call params.success(); if the callback fails (or there is an error), call params.failed().
Note that the server's response is randomly successful or failed.
Try adding a new record with the "Add new record" button, or update and delete entries with their respective icons.
This demo calls some API items from the internet, make sure your internet connection is working and runing this demo with HTTP or HTTPS protocol.