UNPKG

@eclipse-scout/core

Version:
36 lines 1.4 kB
import { CodeType, ColumnModel, LookupCallOrModel } from '../../index'; export interface LookupCallColumnModel<TValue, TKey = TValue> extends ColumnModel<TValue> { /** * Configures the {@link LookupCall} that is used to format the values. * * The property will also be passed to the cell editor if the column is {@link editable}. * * Default is null. */ 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}). * * It will also be passed to the cell editor if the column is {@link editable}. * * Default is null. */ codeType?: string | (new () => CodeType<TKey>); /** * Configures the {@link SmartFieldModel.browseHierarchy} of the cell editor if the column is {@link editable}. * Does not have an effect otherwise. * * Default is false. */ browseHierarchy?: boolean; /** * Configures the {@link SmartFieldModel.browseMaxRowCount} of the cell editor if the column is {@link editable}. * Does not have an effect otherwise. * * Default is {@link SmartField.DEFAULT_BROWSE_MAX_COUNT}. */ browseMaxRowCount?: number; } //# sourceMappingURL=LookupCallColumnModel.d.ts.map