Search in sources :

Example 1 with CubaEnhancedTable

use of com.haulmont.cuba.web.toolkit.ui.CubaEnhancedTable in project cuba by cuba-platform.

the class EntityInspectorBrowseCompanion method setTextSelectionEnabled.

@Override
public void setTextSelectionEnabled(Table table, boolean enabled) {
    CubaEnhancedTable enhancedTable = (CubaEnhancedTable) WebComponentsHelper.unwrap(table);
    enhancedTable.setTextSelectionEnabled(enabled);
}
Also used : CubaEnhancedTable(com.haulmont.cuba.web.toolkit.ui.CubaEnhancedTable)

Example 2 with CubaEnhancedTable

use of com.haulmont.cuba.web.toolkit.ui.CubaEnhancedTable in project cuba by cuba-platform.

the class NewPasswordsListCompanion method allowTextSelection.

@Override
public void allowTextSelection(Table passwordsTable) {
    CubaEnhancedTable vPasswordsTable = (CubaEnhancedTable) WebComponentsHelper.unwrap(passwordsTable);
    vPasswordsTable.setTextSelectionEnabled(true);
}
Also used : CubaEnhancedTable(com.haulmont.cuba.web.toolkit.ui.CubaEnhancedTable)

Aggregations

CubaEnhancedTable (com.haulmont.cuba.web.toolkit.ui.CubaEnhancedTable)2