Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to display limited resultset in dropdownList  RSS feed

 
Puneet Soni
Greenhorn
Posts: 18
Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a dropdownList which shows 80 records at a time.
Now i want to show 10 records at a time & when user scrolls down more records are shown.
How can i do it?
I Searched but could not get the exact response.
for printing results currently i am using <html: option > tag.

I saw an option called bundle in it , can i use it in my context.

Thanks in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot do this in JSP on the server. You'll need a JavaScript and Ajax solution. But I'm not convinced it can be done even with JavaScript as there are no standard events you can use to know when the select element is scrolled.

You'd probably need to mock up your own control.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!