• Post Reply Bookmark Topic Watch Topic
  • New Topic

combo with checkboxes and button  RSS feed

 
Sudhakar Sharma
Ranch Hand
Posts: 71
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I need to make a custom combo-box its items have checkboxes before the option, also i need to create a button on the top and at the bottom inside the combo-box.
I have seen checkboxes inside the combo, but not button yet, I donot want to go with a different api. I want to do it from java-language(J2ee) if possible.


Please help


thanks & regards
Sudhakar Sharma
 
Ankit Tripathi
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly why do you want buttons in a combobox while 'a combobox' and 'an individual item in combobox' both are invokable on single mouse click?
 
Robin John
Ranch Hand
Posts: 281
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if this is what you want -> a dropdown having checkboxes and options...

I think you cant achieve it through a normal "select" or a "combobox".. however you can put checkboxes inside your own customised div...

try the below in an html file..

 
Sudhakar Sharma
Ranch Hand
Posts: 71
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You,

But there is a requirement, if user checked the multiple checkbox in the combo, I have to display user that they have selected that items.

I have seen the checkbox inside combo in JQuery, I created button inside it too, but my event is not getting fired.

thanks & regards
Sudhakar Sharma
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!