Reputation: 231
Using GWTBootstrap3 how do I add options to the select ? And I don't find any method similar to addOptions( )
.
I also tried setValue(option)
, setValues(option)
, setValue(string)
, setValues(string)
. But doesn't populate the select.
Option one = new Option( );
one.setText( "option one" );
one.setId( " " + i );
select.setValues( one );
select.refresh( );
Would prefer help on addOptions( )
rather than setValue( )
Upvotes: 0
Views: 1170