Click or drag to resize

PageDataGridDataItemClassToCopy Method

Copy a data item. Put properties: ID 0, Action Create, Status Create and empty GUID

Namespace:  SOWIWin.Helper
Assembly:  SOWIWin.Helper (in SOWIWin.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public void ToCopy(
	DataItemClass pItem,
	int pIndex = -1
)

Parameters

pItem
Type: DataItemClass
data item to copy
pIndex (Optional)
Type: SystemInt32
index to insert (default -1, if -1 to add)
Examples
This example copying the selected data item
this.ToCopy((DataItemClass)this.PageDataGridUI.DataGridMain.SelectedItem);
See Also