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

data.updateSingle

data.updateSingle

This method offers alternative signatures:

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

Signature

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

Description

Updates the provided item.

Parameters

Parameter Name Type Description
model object The item that will be updated. Note: the ID property of the item will be used to determine which item will be updated.
[success] function A success callback.
[error] function An error callback.


data.updateSingle(item)

Signature

data.updateSingle(item)

Description

Updates a single data item. This operation takes an object that specifies both the data item to be updated and the updated values.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
item object The item that will be updated. Note: the ID property of the item will be used to determine which item will be updated.


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