Rows Collection

The Rows collection contains a collection of Rows.

Client support

   Newlook Smartclient

   Newlook Server

Use

Use the RowCount property to determine the total number of rows in the data grid control.

To add or remove rows from a data grid control, use InsertRow and DeleteRow methods at Run-time.

TIP!

It is not possible to remove rows that have been generated from the host. In order to hide these rows set the row's visible property to False.

Referencing individual members of the collection

You can reference an individual item within any Newlook collection by using its Index. All indexes in Newlook are zero-based therefore if you wanted to return the third item in the collection you would use the following syntax:

object.collection(2)

Note that unlike other collections in Newlook, the Rows collection does not have a Count property. To return the number of rows in a Datagrid control, use the RowCount property of the Datagrid instead.

Properties

None.

See Also

Row object | RowCount property | DataGrid control

Applies To

DataGrid Control


© 2004-2021 looksoftware. All rights reserved.