Scroll a grid with a button or script?

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
jwurst
Profound User
Posts: 20
Joined: Wed Aug 22, 2012 11:30 am
First Name: Jeff
Last Name: Wurst
Company Name: BBCS
State / Province: Washington
Country: United States
Contact:

Scroll a grid with a button or script?

Post by jwurst »

I have a screen that has an ordinary subfile grid with a working scroll bar. I'm being asked to remove the scroll bar and add image buttons to make the subfile page up/page down. Is there any way to use a button to issue page up/page down commands to a grid? I know it can be done by making the program load the subfile one page at a time, but I really don't want to go there.

Thanks for any help.
Scott Wagers

Re: Scroll a grid with a button or script?

Post by Scott Wagers »

Jeff,

You can set the scrollbar property to 'none' and enable the paging controls property. This will add a Previous/Next option to the subfile to allow the page up/down control to your subfile.

Would something like this work?
jwurst
Profound User
Posts: 20
Joined: Wed Aug 22, 2012 11:30 am
First Name: Jeff
Last Name: Wurst
Company Name: BBCS
State / Province: Washington
Country: United States
Contact:

Re: Scroll a grid with a button or script?

Post by jwurst »

That's the general idea of what I want, but the boss wants some particular graphics to match another application.

It could be that I'll have to tell him he can't have what he wants, but it seems like it ought it be possible.
jwurst
Profound User
Posts: 20
Joined: Wed Aug 22, 2012 11:30 am
First Name: Jeff
Last Name: Wurst
Company Name: BBCS
State / Province: Washington
Country: United States
Contact:

Re: Scroll a grid with a button or script?

Post by jwurst »

I managed to accomplish what I needed by overriding the CSS styles for the built in paging functions
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest