Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Inserting an item in Treeview Datawindow

342 views
Skip to first unread message

eric....@gmail.com

unread,
Aug 26, 2008, 3:05:53 PM8/26/08
to
Basically my problem breaks down to I'm not sure how to do things like
finditem in a TreeView datawindow the same way it was done with the
TreeView control. I want to be able to do things like identify the
node I'm on (not too tough) but also add a TreeView Level on the fly,
the way you would in a TreeView control using InsertItemLast with the
control. There just doesn't seem to be much documentation out there
on the TV DW yet since it's still pretty new. Thanks!

Jerry Siegel [TeamSybase]

unread,
Aug 26, 2008, 3:54:05 PM8/26/08
to
Chapter 28 in the HTML book User's Guide covers the Treeview style. The
examples referred to are under Window Controls in the example application.

<eric....@gmail.com> wrote in message
news:712615ba-f826-4bd3...@b1g2000hsg.googlegroups.com...

eric....@gmail.com

unread,
Aug 29, 2008, 10:42:47 AM8/29/08
to
On Aug 26, 3:54 pm, "Jerry Siegel [TeamSybase]"

<jNOsSPAMsiegel@yahoo!.com> wrote:
> Chapter 28 in the HTML book User's Guide covers the Treeview style. The
> examples referred to are under Window Controls in the example application.
>
> <eric.en...@gmail.com> wrote in message

>
> news:712615ba-f826-4bd3...@b1g2000hsg.googlegroups.com...
>
> > Basically my problem breaks down to I'm not sure how to do things like
> > finditem in a TreeView datawindow the same way it was done with the
> > TreeView control. I want to be able to do things like identify the
> > node I'm on (not too tough) but also add a TreeView Level on the fly,
> > the way you would in a TreeView control using InsertItemLast with the
> > control. There just doesn't seem to be much documentation out there
> > on the TV DW yet since it's still pretty new. Thanks!

Thanks. I understand the dynamics of the data-driven DW as opposed to
the control which has to be populated and traversed manually. In
other words, in the control we did an InsertItemLast/First, whatever,
and that can now be done with a simple InsertRow. However, what I
want to do is insert a new TreeView Level. I go back to my "vision"
of the explorer folder structure. I want to allow the user to click
on a Node, and say "Create Subfolder", and insert a new level
underneath the current level. It doesn't seem likely that I can
really do that because the InsertRow just inserts a row in the lowest
level detail. Does this seem like something that can be done with the
DW?

M. Searer

unread,
Aug 30, 2008, 11:31:14 AM8/30/08
to
the tv datawindow only supports predefined levels

<eric....@gmail.com> wrote in message news:74a57837-fc8c-4433...@56g2000hsm.googlegroups.com...

0 new messages