@eclipse-scout/core
Version:
Eclipse Scout runtime
20 lines • 1.05 kB
TypeScript
/// <reference types="jquery" />
import { Column, TableOrganizer } from '../../index';
/**
* Special table organizer for classic tables that are controlled by the Java model on the UI server.
*
* Unlike the default {@link TableOrganizer}, it does not handle {@link addColumn}, {@link removeColumns} and {@link modifyColumn}.
* Instead, it just delegates the calls to the UI server using the {@link TableAdapter}.
*
* The availability of the column organize actions depends on the flags {@link Table.columnAddable}, {@link Column.removable}
* and {@link Column.modifiable} reported by the server.
*/
export declare class RemoteTableOrganizer extends TableOrganizer {
isColumnAddable(insertAfterColumn?: Column): boolean;
addColumn(column: Column<any>): JQuery.Promise<void>;
isColumnRemovable(column: Column): boolean;
removeColumns(columns: Column<any>[]): void;
isColumnModifiable(column: Column): boolean;
modifyColumn(column: Column<any>): JQuery.Promise<void>;
}
//# sourceMappingURL=RemoteTableOrganizer.d.ts.map