Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Inserting an item in Treeview Datawindow

4 posts in DataWindow Last posting was on 2008-08-30 15:31:14.0Z
eric.enser Posted on 2008-08-26 19:05:53.0Z
From: eric.enser@gmail.com
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Inserting an item in Treeview Datawindow
Date: Tue, 26 Aug 2008 12:05:53 -0700 (PDT)
Organization: http://groups.google.com
Lines: 7
Message-ID: <712615ba-f826-4bd3-984e-6e36a77f7ed7@b1g2000hsg.googlegroups.com>
NNTP-Posting-Host: 141.123.123.100
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1219777553 27785 127.0.0.1 (26 Aug 2008 19:05:53 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 26 Aug 2008 19:05:53 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: b1g2000hsg.googlegroups.com; posting-host=141.123.123.100; posting-account=QC-0VwoAAACwEb4A0IacVUqkS1DOli4I
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16,gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!b1g2000hsg.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87645
Article PK: 416900

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]" <jNOsSPAMsiegel Posted on 2008-08-26 19:54:05.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <712615ba-f826-4bd3-984e-6e36a77f7ed7@b1g2000hsg.googlegroups.com>
Subject: Re: Inserting an item in Treeview Datawindow
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48b45f5d@forums-1-dub>
Date: 26 Aug 2008 12:54:05 -0700
X-Trace: forums-1-dub 1219780445 10.22.241.152 (26 Aug 2008 12:54:05 -0700)
X-Original-Trace: 26 Aug 2008 12:54:05 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87646
Article PK: 416902

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.enser@gmail.com> wrote in message
news:712615ba-f826-4bd3-984e-6e36a77f7ed7@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!


eric.enser Posted on 2008-08-29 14:42:47.0Z
From: eric.enser@gmail.com
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Inserting an item in Treeview Datawindow
Date: Fri, 29 Aug 2008 07:42:47 -0700 (PDT)
Organization: http://groups.google.com
Lines: 28
Message-ID: <74a57837-fc8c-4433-9473-b33843a7bd0b@56g2000hsm.googlegroups.com>
References: <712615ba-f826-4bd3-984e-6e36a77f7ed7@b1g2000hsg.googlegroups.com> <48b45f5d@forums-1-dub>
NNTP-Posting-Host: 141.123.123.100
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1220020967 867 127.0.0.1 (29 Aug 2008 14:42:47 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 29 Aug 2008 14:42:47 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: 56g2000hsm.googlegroups.com; posting-host=141.123.123.100; posting-account=QC-0VwoAAACwEb4A0IacVUqkS1DOli4I
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16,gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!56g2000hsm.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87669
Article PK: 416925

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-984e-6e36a77f7ed7@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 Posted on 2008-08-30 15:31:14.0Z
From: "M. Searer" <nospam@nospam.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <712615ba-f826-4bd3-984e-6e36a77f7ed7@b1g2000hsg.googlegroups.com> <48b45f5d@forums-1-dub> <74a57837-fc8c-4433-9473-b33843a7bd0b@56g2000hsm.googlegroups.com>
In-Reply-To: <74a57837-fc8c-4433-9473-b33843a7bd0b@56g2000hsm.googlegroups.com>
Subject: Re: Inserting an item in Treeview Datawindow
Lines: 31
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48b967c2$1@forums-1-dub>
Date: 30 Aug 2008 08:31:14 -0700
X-Trace: forums-1-dub 1220110274 10.22.241.152 (30 Aug 2008 08:31:14 -0700)
X-Original-Trace: 30 Aug 2008 08:31:14 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87677
Article PK: 416932

the tv datawindow only supports predefined levels

<eric.enser@gmail.com> wrote in message news:74a57837-fc8c-4433-9473-b33843a7bd0b@56g2000hsm.googlegroups.com...
> 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-984e-6e36a77f7ed7@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?