CellTable, how to create a cell with custom listbox

416 views
Skip to first unread message

savilak

unread,
Nov 29, 2010, 11:22:04 AM11/29/10
to Google Web Toolkit
I have to create a CellTable with cells that contain ListBoxes.

The issue is that I want each item of the listbox to contain an Image
and Text!
Standard ListBoxes does not allow us to use images at its items
(<select> <option>Item 1</option> </select>).

What is the best approach I can follow to implement this?

Thank you for your time.

Savilak

savilak

unread,
Dec 3, 2010, 3:24:55 PM12/3/10
to Google Web Toolkit
Can you please give me a hint on this?

John LaBanca

unread,
Dec 3, 2010, 4:50:49 PM12/3/10
to google-we...@googlegroups.com
You can create a Popup containing your list of options (some people have used a vertical MenuBar as a list of selectable items).  When the user clicks on the Cell, open the Popup.  When they select an option, close it.  DatePickerCell is a good example of this technique.

We'll probably include a CustomListBoxCell in a future version of GWT, but it isn't on the agenda for GWT 2.2.

Thanks,
John LaBanca
jlab...@google.com


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


Efstathios Kalyvas

unread,
Dec 4, 2010, 2:33:37 AM12/4/10
to google-we...@googlegroups.com
Thank you very much John for pointing the direction.

I'll do it and share it.

HaCk World.exe

unread,
Dec 4, 2010, 2:53:41 AM12/4/10
to google-we...@googlegroups.com
please give me.. proper solution of this.. question... i'm newer to this tools...

thanX in advance...
  With Regards, 
    Ravi Dhoriya

HaCk World.exe
My Profile( Facebook | Orkut
 kvGroup ( Website | Facebook Page | Orkut Community )





Reply all
Reply to author
Forward
0 new messages