data.destroySingle

data.destroySingle

This method offers alternative signatures:

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

Signature

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

Description

Deletes a single data item by ID.

Parameters

Parameter Name Type Description
model object Object containing the item ID to be deleted.
[success] function A success callback.
[error] function An error callback.


data.destroySingle(itemId)

Signature

data.destroySingle(itemId)

Description

Deletes a single data item by ID.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
itemId string The ID of the item to delete.


data.destroySingle

This method offers alternative signatures:

data.destroySingle(itemId, [success], [error])

Signature

data.destroySingle(itemId, [success], [error])

Description

Deletes a single data item by ID.

Parameters

Parameter Name Type Description
itemId string The ID of the item to delete.
[success] function A success callback.
[error] function An error callback.


data.destroySingle(item)

Signature

data.destroySingle(item)

Description

Deletes a single data item by ID.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
item object Object containing the item ID to be deleted.


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.