10190 : In the VCL version, how to use onChangeDataEntity_Tree, OnContentChange_Tree?

Question

Question:In the VCL version, how to use onChangeDataEntity_Tree, OnContentChange_Tree, ….etc events, they seemed not working??? I look into the help but it was too brief to be helpful…

Answer

If you are using the Grid option, the events you must use are different; UseGridNotTree=true.
Try, for example;

phGant.Grid.GetTree.OnExpand
phGant.Grid.GetTree.OnCollapse
phGant.Grid.OnCellSelectionChanged
phGant.Grid.GetTree.OnDeleteItem
phGant.Grid.GetTree.OnInsertItem
phGant.Grid.OnEditStop
phGant.Grid.OnEditorCanModify
phGant.Grid.OnInitTreeSubDataList
phGant.Grid.OnClick
phGant.Grid.OnRightClick
phGant.Grid.OnDblClick
phGant.Grid.OnMouseDown
phGant.Grid.OnMouseUp
phGant.Grid.OnMouseMove

Leave a Reply