@eclipse-scout/core
Version:
Eclipse Scout runtime
24 lines • 1.08 kB
TypeScript
import { CodeType, ColumnModel, LookupCallOrModel } from '../../index';
export interface LookupCallColumnModel<TValue, TKey = TValue> extends ColumnModel<TValue> {
/**
* Configures the {@link LookupCall} that is used to resolve the values and to load the proposals if the column is editable.
*/
lookupCall?: LookupCallOrModel<TKey>;
/**
* If set, a {@link CodeLookupCall} is created and used for the property {@link lookupCall}.
*
* The property accepts a {@link CodeType} class or a {@link CodeType.id} (see {@link CodeTypeCache.get}).
*/
codeType?: string | (new () => CodeType<TKey>);
/**
* Configures the {@link SmartFieldModel.browseHierarchy} of the cell editor if the column is editable.
* Does not have an effect otherwise.
*/
browseHierarchy?: boolean;
/**
* Configures the {@link SmartFieldModel.browseMaxRowCount} of the cell editor if the column is editable.
* Does not have an effect otherwise.
*/
browseMaxRowCount?: number;
}
//# sourceMappingURL=LookupCallColumnModel.d.ts.map