Przeglądaj źródła

Add enabled check to Column#isResizable (#12063)

tags/8.12.0.alpha1
Tatu Lund 3 lat temu
rodzic
commit
7398f1565a
No account linked to committer's email address

+ 3
- 1
client/src/main/java/com/vaadin/client/widgets/Grid.java Wyświetl plik

@@ -5287,7 +5287,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>,
* otherwise
*/
public boolean isResizable() {
return resizable;
return grid.isEnabled() && resizable;
}

/**
@@ -6496,6 +6496,8 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>,
!enabled || editorOpen);
getEscalator().setScrollLocked(Direction.HORIZONTAL, !enabled);

getHeader().requestSectionRefresh();

fireEvent(new GridEnabledEvent(enabled));
}


Ładowanie…
Anuluj
Zapisz