Friday, November 23, 2012

gwtchosen with SelectionCell

Hi,

I want to use gwtchosen inside a CellTable. I create a copy of SelectionCell to put a class inside the select element.

---
    sb.appendHtmlConstant("<select class=\"selectToEnHance\" tabindex=\"-1\">");
---

Then I added: 

Scheduler.get().scheduleDeferred(new ScheduledCommand() {
        @Override
        public void execute() {
          GQuery.$(".selectToEnHance").as(Chosen.Chosen).chosen();
        }
      });

But this code, didn't work. 

It is possible to use GwtChosen with CellTable?

Thanks,
Juan

--
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment