Interface IItemFormViewProps

View Item Properties

interface IItemFormViewProps {
    elForm?: HTMLElement;
    info?: IListFormResult;
    itemId: number;
    onCreateViewForm?: ((props) => IListFormDisplayProps);
    onFormButtonsRendering?: ((buttons) => IButtonProps[]);
    onFormRendered?: ((form?) => void);
    onGetListInfo?: ((props) => IListFormProps);
    onResetForm?: (() => void);
    onSetFooter?: ((el) => void);
    onSetHeader?: ((el) => void);
    onShowForm?: ((form?) => void);
    tabInfo?: IItemFormTabInfo;
    useModal?: boolean;
    webUrl?: string;
}

Properties

elForm?: HTMLElement
info?: IListFormResult
itemId: number
onCreateViewForm?: ((props) => IListFormDisplayProps)

Type declaration

    • (props): IListFormDisplayProps
    • Parameters

      • props: IListFormDisplayProps

      Returns IListFormDisplayProps

onFormButtonsRendering?: ((buttons) => IButtonProps[])

Type declaration

    • (buttons): IButtonProps[]
    • Parameters

      • buttons: IButtonProps[]

      Returns IButtonProps[]

onFormRendered?: ((form?) => void)

Type declaration

    • (form?): void
    • Parameters

      • Optional form: IListFormDisplay

      Returns void

onGetListInfo?: ((props) => IListFormProps)

Type declaration

    • (props): IListFormProps
    • Parameters

      • props: IListFormProps

      Returns IListFormProps

onResetForm?: (() => void)

Type declaration

    • (): void
    • Returns void

onSetFooter?: ((el) => void)

Type declaration

    • (el): void
    • Parameters

      • el: HTMLElement

      Returns void

onSetHeader?: ((el) => void)

Type declaration

    • (el): void
    • Parameters

      • el: HTMLElement

      Returns void

onShowForm?: ((form?) => void)

Type declaration

useModal?: boolean
webUrl?: string