CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Scrolling Scroll Bars "Grid" Part of Grid & Record Form?

Print topic Send  topic

Author Message
dandavis1

Posts: 18
Posted: 07/26/2007, 1:09 PM

Hi, would you please let me know how to make the "Grid" portion of my "Grid & Record" page a scrolling box (long list box with scroll bars) such that when you click on a row, it will automatically open in the "Record" portion?

Sincerely,



Dan
View profile  Send private message
wdhindman

Posts: 6
Posted: 07/29/2007, 4:41 PM

Dan

...an asp grid has no native scroll component but you can use html to get the same effect:

...in your html editor, insert a <div> tag before and after the table tag ...be sure you get the specfic nested table that contains the grid itself

<div id="scroll1" style="OVERFLOW: auto; WIDTH: 200px; HEIGHT: 400px">
<table>
...grid
</table>
</div>

...the OVERFLOW will produce a vertical scroll bar for any grid contents that exceed the HEIGHT spec and a horizontal one for any grid contents that exceed the WIDTH spec ...if you combine this with table or css constraints, you can precisely control the grid and its scroll functionality.

...hth
_________________
William Hindman
Dejpol Systems
Loxahatchee, FL
View profile  Send private message
dandavis1

Posts: 18
Posted: 07/29/2007, 7:44 PM

Thanks.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.