Hi ,
I am using vaadin 7.7.7
In a grid i have a combobox as an edited item in one of the columns.
as
grid.addColumn("columnProperty").setEditorField(combobox);
I need to update a property/cell in same row based on the combobox selection change
My issue is , the selection change event triggers twice, once when the combobox in clicked and second when the selection value is changed. But the updated value in next cell gets reflected on UI only first time.
Below is the code written . Can you help me with this?
Combobox.addValueChangeListener(new ValueChangeListener()
{
@Override
public void valueChange(ValueChangeEvent event) {
// below line works only first time when the combobox is clicked,but i want it when the item in the combobox is //changed
gridContainer.getContainerProperty(editedRow, "editedColumProperty").setValue("ValueTobeUpdated");
}
});