Version

AddNew() Method

Displays the AddNew row for the band. If the current ActiveRow does not provide enough context, an error occurs.
Syntax
'Declaration
 
Public Function AddNew() As UltraGridRow
public UltraGridRow AddNew()
Remarks

The AddNew method will display a data entry row for the user to enter data for a new record. When this method is invoked, the AddNew row appears at the bottom of the group of rows (in the current band) that contains the active row. If there is no active row, and the control does not have enough context to determine where the add row should appear, an error occurs.

If you attempt to invoke the AddNew method on a read-only data source, you will also receive an error.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also