• Post Reply Bookmark Topic Watch Topic
  • New Topic

need to add scroll bar to table ( with sashform)  RSS feed

 
santhosh math
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to add vertical scroll bar to a table. This table is on one side of a sashform. Have added a composite to the shell and then

added this table to the composite. If I add the table directly to the shell, am able to add scroll bar. Please suggest, how I can add scroll

bar, when table is added to a composite. I need sashform too, in this case.

Thanks in advance,
Santhosh
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"santhosh sh " welcome to Javaranch
please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.
 
manuela marginean
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I've just had the same problem.
I found somewhere the solution, or at least for my case. The problem was that the parent composite had a limited height and if you don't set a limit for the table too, the table will enlarge to contain all it's items. So set a height limit to the table also and the scroll bar will show up.
 
santhosh math
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Manuela,

Thanks for the suggestion. I guess, its working.

Santosh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!