• Post Reply Bookmark Topic Watch Topic
  • New Topic

setVisibleRowCount doesn't want to  RSS feed

 
Jasper Vader
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ... when i try to compile the following code snippet

it comes up with the following errors

and i have no idea why cos i reckon i am calling the method properly. any suggestions (eg, i am not calling the method properly ?)
 
aminur rashid
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Move this line inside some method
optionHolder.setVisibleRowCount(4);
init() or the constructor of ur class.
Dont use it where u define/initalize variables
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!