Microsoft SDK for Java

DataGrid.getAllowAddNew

Retrieves a boolean value indicating whether the user can add rows to the grid (provided the underlying recordset allows new records to be added).

Syntax

public boolean getAllowAddNew()

Return Value

Returns true if the user can add rows to the grid; otherwise, returns false. For more information, see setAllowAddNew.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.