Version

GeneratePrimaryKeyValue Field

Event which is raised before adding new row to get value of cell for primaryKey column. Function takes arguments evt and ui. Use ui.owner to get reference to igGridUpdating. Use ui.owner.grid to get reference to igGrid. Use ui.value to set unique record-key-identifier for new row. It is prefilled with suggested value (defaultValue of column or number of rows in data source).
Syntax
'Declaration
 
Public Const GeneratePrimaryKeyValue As System.String
public const System.string GeneratePrimaryKeyValue
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, 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

View on GitHub