File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to move scrollbars dynamically in a scrollpane?

 
ravikumar sengodan
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

my scrollpane having a table. I want to move the scrollbars in the scrollpane and set the focus in a particular row in the table. how to do that?

suggestions needed

thanks
 
Michael Dunn
Ranch Hand
Posts: 4632
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
table.scrollRectToVisible(table.getCellRect([..row number..],0,true));}};
 
ravikumar sengodan
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Michael,

thanks, i tried ur code. Its working fine.

bye,
S.Ravikumar
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic