List Form Edit Properties

Hierarchy

Properties

assignTo?: ((obj) => void)

Type declaration

    • (obj): void
    • Assigns the object to the input parameter.

      Parameters

      Returns void

className?: string

The form component class name.

controlMode?: number

The form mode (New/Edit)

displayAttachments?: boolean

Flag to display the attachments, if they are loaded.

el?: HTMLElement

The element to render the form to.

excludeFields?: string[]

The fields to exclude from the form.

groupClassName?: string

The form component group class name.

includeFields?: string[]

The fields to include in the form.

info: IListFormResult

The list form information.

onControlRendered?: ((control, field) => void | Promise<IFormControl>)

Type declaration

onControlRendering?: ((control, field) => void | Promise<IFormControlProps>)

Type declaration

onError?: ((msg?) => void)

Type declaration

    • (msg?): void
    • The error event.

      Parameters

      • Optional msg: string

      Returns void

onFilterLookupField?: ((field) => string | IODataQuery)

Type declaration

    • (field): string | IODataQuery
    • Use this event to filter a lookup field by OData query.

      Parameters

      • field: Field

      Returns string | IODataQuery

onFormRendered?: ((form) => void)

Type declaration

    • (form): void
    • The form rendered event.

      Parameters

      Returns void

onGetFields?: ((fieldNames?) => string[])

Type declaration

    • (fieldNames?): string[]
    • The fields to render event.

      Parameters

      • Optional fieldNames: string[]

      Returns string[]

onSaving?: ((item) => void | PromiseLike<any>)

Type declaration

    • (item): void | PromiseLike<any>
    • The form saving event.

      Parameters

      • item: any

      Returns void | PromiseLike<any>

onSetFieldDefaultValue?: ((field, value) => any)

Type declaration

    • (field, value): any
    • Use this event to set a custom default value.

      Parameters

      • field: Field
      • value: any

      Returns any

onValidate?: ((field, control) => boolean)

Type declaration

    • (field, control): boolean
    • The form validating event.

      Parameters

      Returns boolean

rowClassName?: string

The form component row class name.

template?: IFormRow[]

The list form rows.

Generated using TypeDoc