Options
All
  • Public
  • Public/Protected
  • All
Menu

Module YH-Designer/src/base/datasource/DataSourceBase

Index

Type aliases

DataSourcePostHandle

DataSourcePostHandle: (err: string) => void

数据源提交回调

param

错误信息 ,无错误时候为空

Type declaration

    • (err: string): void
    • Parameters

      • err: string

      Returns void

DataSourceQureyRowHandle

DataSourceQureyRowHandle: (row: Row) => boolean

数据源查询回调

param

行实例

returns

true /false

Type declaration

    • (row: Row): boolean
    • Parameters

      Returns boolean

DataSourceRefureshRowHandle

DataSourceRefureshRowHandle: (row: Row) => void

数据行刷新回调

param

行实例

Type declaration

    • (row: Row): void
    • Parameters

      Returns void

extraParamHandle

extraParamHandle: () => IParam[]

扩展参数的回调

Type declaration

onAddHandle

onAddHandle: (rows: Row[], index: number) => void

新增行的回调

param

行数组

param

插入的位置

Type declaration

    • (rows: Row[], index: number): void
    • Parameters

      • rows: Row[]
      • index: number

      Returns void

onBeforePostHandle

onBeforePostHandle: (xhr: JQuery.jqXHR<any>) => void

数据提交之前的回调

param

http xhr

Type declaration

    • (xhr: JQuery.jqXHR<any>): void
    • Parameters

      • xhr: JQuery.jqXHR<any>

      Returns void

onBeforeloadHandle

onBeforeloadHandle: (options: IDsLoadOptions) => void

数据加载之前的回调

param

加载的配置

Type declaration

onClearHandle

onClearHandle: () => void

清理所有行的回调

Type declaration

    • (): void
    • Returns void

onCompleteHandle

onCompleteHandle: (ds: DataSourceBase) => void

数据查询/提交完成后的回调

param

加载的配置

Type declaration

onDatachangeHandle

onDatachangeHandle: () => void

数据改变回调

Type declaration

    • (): void
    • Returns void

onLoadExceptionHandle

onLoadExceptionHandle: (error: string) => void

数据加载异常的回调

param

错误字符串

Type declaration

    • (error: string): void
    • Parameters

      • error: string

      Returns void

onLoadHandle

onLoadHandle: (rows: Row[], fields: IField[]) => void

数据加载后的回调

param

行数组

Type declaration

    • Parameters

      Returns void

onPostExceptionHandle

onPostExceptionHandle: (error: string) => void

数据提交异常的回调

param

错误字符串

Type declaration

    • (error: string): void
    • Parameters

      • error: string

      Returns void

onRemoveHandle

onRemoveHandle: (rows: Row[], index: number) => void

移除行的回调

param

行数组

param

插入的位置

Type declaration

    • (rows: Row[], index: number): void
    • Parameters

      • rows: Row[]
      • index: number

      Returns void

Generated using TypeDoc