on 09-26-2014 8:29 AM
Hello everybody,
I want to place a vertical scroll bar on the group box to make it look like a table.
I copied the group box property and "set selection".
I added vertical scroll bar to the same property. But I think that's not correct.
I am looking for a hint how to make it scrollable. Can any one help me?
My idea is to create custom table using group box.
I checked the post "creating custom table". It is very helpful. I am able to get the data into the table successfully.
I am stuck with how to make it scrollable.
Can any one help me.
Thanks.
A group box gets a scrollbar if there are more items in it than will fit. To force a scroll bar, create the group box too large, put your content in it, and then shrink it. I think you'll always get both horizontal and vertical scrollbars this way.
I don't believe that will help with your scenario, though, because you can't put a variable number of things in the group box to support a variable number of table items. My blog did support scrolling without this, albeit a little slow. You can speed it up with the techniques in this blog - - but that is getting even more extreme!
Steve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks steve for your helpful answer.
Thanks for your blog "Creating custom table in Personas". Its guide for me to achieve my logic.
My requirement is to get the contents of table in one of the item tabs to the main header screen.
I am able to get the contents successfully but could not see the scroll bar.
Let me try your suggestion and get back to you.
I have one more question steve, I observed that the "copy table" option would not work in the other screen script. I had copied the table in the recording flow of the 2nd screen and tried to use "copytable" in the first screen. It didn't work. Then I had to bind copy table in the 2nd screen itself. Record it and push it from the first screen.
Why "copy table" option behaves like this? or I am doing anything wrong?
Please suggest,
It isn't magic! Whenever you copy data from a screen immediately after a screen has changed, you need a Refresh Screen action. If you are copying multiple values you only need it once, and of you don't copy values you don't need it at all.
In your example, you are selecting a new tab in a tab set, and that counts as changing screens.
What's going on is that Personas batches up all the actions in your script and sends them all to the backend system to be executed in one go, for performance reasons, but the copy actions have to happen in the browser (well, in Silverlight). The Refresh action tells Personas to break the script into multiple pieces and execute them separately in the backend. That way it can copy data while it is "visible". Without it it tries to do the copies at the end when the data has disappeared again.
Steve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.