This is a migrated thread and some comments may be shown as answers.

Local array as datasource with CRUD

1 Answer 353 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Shafi
Top achievements
Rank 1
Shafi asked on 19 Jun 2016, 10:36 AM
I'm replicating the Products demo for the List view and am wondering how to go about a pure client-side ListView that deals with an array instead of any JSON/Ajax calls. I'm looking at the similar functionality of Add a new record, edit, and delete. What I have achieved so far is a state where once I add a new record and save it, it get nullified.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 21 Jun 2016, 01:39 PM
Hello Shafi,

You can check out the following section of our documentation for a detailed explanation of how to configure a Local or Custom Transport for CRUD operations:

http://docs.telerik.com/kendo-ui/framework/datasource/crud#local-or-custom-transport-crud-operations

The ListView can be bound to the dataSource, and configured for CRUD operations, as shown in this demo:

http://demos.telerik.com/kendo-ui/listview/editing

I hope this helps.

Regards,
Dimiter Topalov
Telerik
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Tags
ListView
Asked by
Shafi
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or