pp108 : markToRemove()

markToRemove()


It marks a row or a collection of rows for deletion.

Syntax

Script

tableID.markToRemove (oRows)


Parameters

Parameter

Description

oRows

Collection of row objects.


Return Value


No value is returned.

Remarks

The row objects passed as the parameter will be marked for deletion. When we synchronize the model data, the rows which are marked for deletion are deleted from the backend.
Note: Refreshing the table will revert the changes made that is the rows will be no longer marked for deletion.

Example

This sample code demonstrates how the method can be used.

function markToRemove_Click(eventObject)
{
ProjectsTable.markToRemove(ProjectsTable.getCheckedRows())
}

Applies to


Table