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.

Forcing new row add top in htmldw

6 posts in General Discussion (old) Last posting was on 2000-03-09 06:48:10.0Z
Adam Simmonds Posted on 2000-03-08 06:33:23.0Z
Newsgroups: sybase.public.easerver
Date: Wed, 08 Mar 2000 17:33:23 +1100
From: Adam Simmonds <asimmond@mail.usyd.edu.au>
Organization: University of Syndey
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Forcing new row add top in htmldw
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 4
NNTP-Posting-Host: pc-70.sis.usyd.edu.au 129.78.248.198
Message-ID: <347_38C5F433.7E6A7560@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26911
Article PK: 157867

Can I force the insertrow of a htmldw to always be the first row in the
datawindow instead of the row that has focus?

Rgds
Adam


Dean Jones [Team Sybase] Posted on 2000-03-08 17:05:16.0Z
Newsgroups: sybase.public.easerver
From: "Dean Jones [Team Sybase]" <dean_no_spam_@powerobjects.com>
Subject: Re: Forcing new row add top in htmldw
Date: Wed, 8 Mar 2000 11:05:16 -0600
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: modem10.outtech.com 216.207.144.240
Message-ID: <347_FyQoBESi$GA.285@forums.sybase.com>
References: <347_38C5F433.7E6A7560@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26878
Article PK: 154455

You could try and use JavaScript on the client to set the row to row 1
before the action is applied, i.e., capture the onclicked event and setrow
to 1, then call the action.

You can maybe change it on the server also. Example, check action, if action
is InsertRow, then modify the context to change current row to 1.

In my opinion it will be more work then it's worth. I would change how your
users use the system or write a custom screen. Example we use a screen input
that always leaves a blank row at the end of the DataWindow. Buttons across
the top are "Delete" and "Add/Save". We always leave one row at the end.
Works really nice for fast input.

HTH

--

Dean Jones, CPD Professional
Team Sybase
PowerTeam, Inc.

Seminar on April 26 and 27, Don't Miss it!
www.powerobjects.com/seminar

http://www.powerobjects.com

Adam Simmonds <asimmond@mail.usyd.edu.au> wrote in message
news:38C5F433.7E6A7560@mail.usyd.edu.au...
> Can I force the insertrow of a htmldw to always be the first row in the
> datawindow instead of the row that has focus?
>
> Rgds
> Adam
>


Adam Simmonds Posted on 2000-03-09 05:20:09.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 09 Mar 2000 16:20:09 +1100
From: Adam Simmonds <asimmond@mail.usyd.edu.au>
Organization: University of Syndey
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Forcing new row add top in htmldw
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 41
NNTP-Posting-Host: pc-70.sis.usyd.edu.au 129.78.248.198
Message-ID: <347_38C73489.C1D5AA6E@mail.usyd.edu.au>
References: <347_38C5F433.7E6A7560@mail.usyd.edu.au> <347_FyQoBESi$GA.285@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26822
Article PK: 154446

We need to display all the data on one page and this implies that they have to
scroll and when you add a new row the page refreshes to the top and then they
have to scroll down. in early user testing the client has found this to be
confusing and they dont know where the new row went, it would be better if the
row was at the top.

Also, how did you get the buttons to appear at the top???

Rgds
Adam

"Dean Jones [Team Sybase]" wrote:

> You could try and use JavaScript on the client to set the row to row 1
> before the action is applied, i.e., capture the onclicked event and setrow
> to 1, then call the action.
>
> You can maybe change it on the server also. Example, check action, if action
> is InsertRow, then modify the context to change current row to 1.
>
> In my opinion it will be more work then it's worth. I would change how your
> users use the system or write a custom screen. Example we use a screen input
> that always leaves a blank row at the end of the DataWindow. Buttons across
> the top are "Delete" and "Add/Save". We always leave one row at the end.
> Works really nice for fast input.
>
> HTH
>
> --
>
> Dean Jones, CPD Professional
> Team Sybase
> PowerTeam, Inc.
>
> Seminar on April 26 and 27, Don't Miss it!
> www.powerobjects.com/seminar
>
> http://www.powerobjects.com
>
> Adam Simmonds <asimmond@mail.usyd.edu.au> wrote in message
> news:38C5F433.7E6A7560@mail.usyd.edu.au...
> > Can I force the insertrow of a htmldw to always be the first row in the
> > datawindow instead of the row that has focus?
> >
> > Rgds
> > Adam
> >


jerry Posted on 2000-03-09 06:20:53.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 09 Mar 2000 00:20:53 -0600
From: jerry <Jerry@powerobjects.com>
X-Mailer: Mozilla 4.51 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Forcing new row add top in htmldw
Content-Type: multipart/alternative; boundary="------------2FB84FF5480D1EA007882309"
Lines: 125
NNTP-Posting-Host: modem10.outtech.com 216.207.144.240
Message-ID: <347_38C742C5.90E11A6A@powerobjects.com>
References: <347_38C5F433.7E6A7560@mail.usyd.edu.au> <347_FyQoBESi$GA.285@forums.sybase.com> <347_38C73489.C1D5AA6E@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26817
Article PK: 154445

Buttons can just go in the header.

When my user has that long of list, I would send them to a seperate entry screen. But if they have resolution cranked way down they still won't see all of it--
Then when they submit input page do your processing and reload the list page-

just my 0.02

Jerry Neppl
PowerTeam, Inc.

 Seminar on April 26 and 27, Don't Miss it!
 www.powerobjects.com/seminar
 

Adam Simmonds wrote:

We need to display all the data on one page and this implies that they have to
scroll and when you add a new row the page refreshes to the top and then they
have to scroll down. in early user testing the client has found this to be
confusing and they dont know where the new row went, it would be better if the
row was at the top.

Also, how did you get the buttons to appear at the top???

Rgds
Adam

"Dean Jones [Team Sybase]" wrote:

> You could try and use JavaScript on the client to set the row to row 1
> before the action is applied, i.e., capture the onclicked event and setrow
> to 1, then call the action.
>
> You can maybe change it on the server also. Example, check action, if action
> is InsertRow, then modify the context to change current row to 1.
>
> In my opinion it will be more work then it's worth. I would change how your
> users use the system or write a custom screen. Example we use a screen input
> that always leaves a blank row at the end of the DataWindow. Buttons across
> the top are "Delete" and "Add/Save". We always leave one row at the end.
> Works really nice for fast input.
>
> HTH
>
> --
>
> Dean Jones, CPD Professional
> Team Sybase
> PowerTeam, Inc.
>
> Seminar on April 26 and 27, Don't Miss it!
> www.powerobjects.com/seminar
>
> http://www.powerobjects.com
>
> Adam Simmonds <asimmond@mail.usyd.edu.au> wrote in message
> news:38C5F433.7E6A7560@mail.usyd.edu.au...
> > Can I force the insertrow of a htmldw to always be the first row in the
> > datawindow instead of the row that has focus?
> >
> > Rgds
> > Adam
> >


 
 


Ken Hudson Posted on 2000-03-09 06:48:10.0Z
Newsgroups: sybase.public.easerver
From: "Ken Hudson" <ken@khudson.com>
Subject: Re: Forcing new row add top in htmldw
Date: Thu, 9 Mar 2000 06:48:10 -0000
Lines: 66
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: ny-tc-ppp5.monmouth.com 209.191.41.6
Message-ID: <347_oEflV3bi$GA.251@forums.sybase.com>
References: <347_38C5F433.7E6A7560@mail.usyd.edu.au> <347_FyQoBESi$GA.285@forums.sybase.com> <347_38C73489.C1D5AA6E@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26811
Article PK: 157783

Buttons can go to top of page also by using <TABLE>.
First row of table is the button(s), second row of table is the datawindow.

Ken

"Adam Simmonds" <asimmond@mail.usyd.edu.au> wrote in message
news:38C73489.C1D5AA6E@mail.usyd.edu.au...
> We need to display all the data on one page and this implies that they
have to
> scroll and when you add a new row the page refreshes to the top and then
they
> have to scroll down. in early user testing the client has found this to be
> confusing and they dont know where the new row went, it would be better if
the
> row was at the top.
>
> Also, how did you get the buttons to appear at the top???
>
> Rgds
> Adam
>
> "Dean Jones [Team Sybase]" wrote:
>
> > You could try and use JavaScript on the client to set the row to row 1
> > before the action is applied, i.e., capture the onclicked event and
setrow
> > to 1, then call the action.
> >
> > You can maybe change it on the server also. Example, check action, if
action
> > is InsertRow, then modify the context to change current row to 1.
> >
> > In my opinion it will be more work then it's worth. I would change how
your
> > users use the system or write a custom screen. Example we use a screen
input
> > that always leaves a blank row at the end of the DataWindow. Buttons
across
> > the top are "Delete" and "Add/Save". We always leave one row at the end.
> > Works really nice for fast input.
> >
> > HTH
> >
> > --
> >
> > Dean Jones, CPD Professional
> > Team Sybase
> > PowerTeam, Inc.
> >
> > Seminar on April 26 and 27, Don't Miss it!
> > www.powerobjects.com/seminar
> >
> > http://www.powerobjects.com
> >
> > Adam Simmonds <asimmond@mail.usyd.edu.au> wrote in message
> > news:38C5F433.7E6A7560@mail.usyd.edu.au...
> > > Can I force the insertrow of a htmldw to always be the first row in
the
> > > datawindow instead of the row that has focus?
> > >
> > > Rgds
> > > Adam
> > >
>


Larry Cermak[Team Sybase] Posted on 2000-03-09 05:14:19.0Z
Newsgroups: sybase.public.easerver
From: "Larry Cermak[Team Sybase]" <lcermak@ctpartners.com>
Subject: Re: Forcing new row add top in htmldw
Date: Wed, 8 Mar 2000 23:14:19 -0600
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: node6.dhcpchi.dslspeed.zyan.com 208.41.199.6
Message-ID: <347_YbKoQeYi$GA.201@forums.sybase.com>
References: <347_38C5F433.7E6A7560@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26827
Article PK: 157797

I would customize the component and make an insertrow method and make it
insert into the first row.

--

Larry Cermak [Team Sybase]
Corporate Technology Partners, Inc.
www.ctpartners.com
Web DataWindow Articles
(http://sdn.sybase.com/sdn/appdev/get_doc.stm?loc=1001708)

"Adam Simmonds" <asimmond@mail.usyd.edu.au> wrote in message
news:38C5F433.7E6A7560@mail.usyd.edu.au...
> Can I force the insertrow of a htmldw to always be the first row in the
> datawindow instead of the row that has focus?
>
> Rgds
> Adam
>