Table of Contents
deleteItem Method 

Deletes the item at the specified index.

Syntax
JavaScript
 Grid.deleteItem(itemIndex)

Parameters

itemIndex
Zero based item index to delete.
Remarks

When an item is deleted on the client side, it is only marked as deleted and is not removed from the Grid's items collection. This is necessary so that when the page is posted back to the server side, the server side code will be able to find out the content of the deleted item.

Because the item is not actually removed from the Grid's items collection, the return value of getItemCount does not change after an item has been deleted.

See Also