Thursday, 15 January 2015

java - How to use FlexibleOptionGroup inside vaadin table? -



java - How to use FlexibleOptionGroup inside vaadin table? -

i need utilize optiongroup within table cell of 1 column. if 1 item selected other item should deselected. in general optiongroup cannot add together item different cells of table. using flexibleoptiongroup. don't know how utilize using table field mill this. if propertyid.equals("option") optiongroup item should add together table cell.

resulttable.setimmediate(true); resulttable.settablefieldfactory(new defaultfieldfactory() { public field<?> createfield(container container, final object itemid, object propertyid, component uicontext) { if (propertyid.equals("option")) { } field field = super.createfield(container, itemid, propertyid, uicontext); field.setreadonly(true); homecoming field; } });

java maven vaadin vaadin7

No comments:

Post a Comment