Re: refreshing a treeview
- From: "Larry Lard" <larrylard@xxxxxxxxxxx>
- Date: 22 Jul 2005 07:34:19 -0700
Sam wrote:
> You should be able to determine which node was just
> added/edited
>
> > how ?
We can't tell you that. Presumably, when the user enters new data and
commits that change, you save data to an underlying data store? Then
you say you rebuild the tree from that data store - well, while you are
doing this, it should be possible to know when you are creating the
node that corresponds to the data the user just entered. Keep a
reference to that node, then when you have finished rebuilding the
tree, you only need do
newNode.EnsureVisible
Are you sure you need to completely rebuild the tree every time data is
entered?
--
Larry Lard
Replies to group please
.
- References:
- refreshing a treeview
- From: Sam
- Re: refreshing a treeview
- From: Larry Lard
- Re: refreshing a treeview
- From: Sam
- Re: refreshing a treeview
- From: Larry Lard
- Re: refreshing a treeview
- From: johnb41
- Re: refreshing a treeview
- From: Sam
- refreshing a treeview
- Prev by Date: Please help a Windows Forms Dummy
- Next by Date: setting a file's group access permissions
- Previous by thread: Re: refreshing a treeview
- Next by thread: Events/Delegaet/Logging Methods...
- Index(es):
Relevant Pages
|