Hi to all,
- DataSetDemo does this already. Look at the GoView.LinkRelinked event handler.
Hi walter,
private void goView1_ObjectContextClicked(Object sender, GoObjectEventArgs e) {<BR> PersonNode n = e.GoObject.ParentNode as PersonNode;<BR> if (n == null) return null;<BR> ... use n.ID ...<BR>}
Hi walter,
Are you programmatically adding a node to the GoDiagram document, or are you adding a row to a table?
I am adding new nodes programmatically.although it added new node in database but doesnot show response quickly.
If there is both a new node and a new link (connecting that new node to another node) in the GoDocument, and if there is a corresponding row in your table, you can just call AutoLayout() to do another tree layout.
Hi to all
OrgCharter and Flowgrammer implements that behavior in slightly different ways.
These event (GoView.ObjectSelectionDropped event and GoObject.OnSelectionDropped) are not fulfilling our requirements.
Sorry, I meant the Planogrammer sample, as an example of using the “SelectionDropped” event, not Flowgrammer. Although the Flowgrammer sample does do what you want – automatically linking up the dropped node – but it does so for something dragged from a TreeView, not from a GoView.
Hi walter,