As at the touch of a button disable row editing?
The row contains a field where the user enters a value and I need to do while keeping them inaccessible for editing.
...
Button save = new Button("Save");
save.setIcon(new ThemeResource(Theme.ok16x16));
save.setSizeFull();
save.addListener(new ClickListener() {
public void buttonClick(ClickEvent event) {
[color=#f90404]
// do row disabled to edit
[/color]
}
});
actions.addComponent(save);
...
I would be very grateful for the information!
Thank you!