I have a SelectOtherItem on my page and I need to fill it with values coming from the server. Cant hard code like in the smartgwt examples..
If I dont attach it to the dataSource it doesnt show any value except for the "Other" option.. and if I do then the dataSource values appear but the Other option is lost..
No errors at all in the Developer console either..
Dont know what to do.. Any API's u think that can takes care of this??
This is how I define the SelectOtherItem:
	Thanks,
Hetal
					If I dont attach it to the dataSource it doesnt show any value except for the "Other" option.. and if I do then the dataSource values appear but the Other option is lost..
No errors at all in the Developer console either..
Dont know what to do.. Any API's u think that can takes care of this??
This is how I define the SelectOtherItem:
Code:
	
	final SelectOtherItem tagItem = new SelectOtherItem("tags");
		tagItem.setAutoFetchData(true);
		tagItem.setTitle("Tag");
		tagItem.setSelectOtherPrompt("Enter a new tag name");
		tagItem.setOtherTitle("New Tag");
		tagItem.setAllowEmptyValue(true);
		tagItem.setOptionDataSource(tagsDS);
		//tagItem.setEditorType(new SelectOtherItem());.. doesnt seem to have an effect
Hetal

Comment