Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

data.save

This method offers alternative signatures:

data.save(model, [success], [error])

Signature

data.save(model, [success], [error])

Description

Saves the provided data item. This operation will create or update the item depending on whether it is new or existing.

Parameters

Parameter Name Type Description
model object An object containing the item that is being saved.
[success] function A success callback.
[error] function An error callback.


data.save(item)

Signature

data.save(item)

Description

Saves the provided data item. This operation will create or update the item depending on whether it is new or existing.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
item object An object containing the item that is being saved.


Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.