export = WOQLTable; /** * @module WOQLTable * @license Apache Version 2 * @param {WOQLClient} [client] we need an client if we do a server side pagination,sorting etc... * @param {WOQLTableConfig} [config] * @returns {WOQLTable} */ declare function WOQLTable(client?: WOQLClient, config?: WOQLTableConfig): WOQLTable; declare class WOQLTable { /** * @module WOQLTable * @license Apache Version 2 * @param {WOQLClient} [client] we need an client if we do a server side pagination,sorting etc... * @param {WOQLTableConfig} [config] * @returns {WOQLTable} */ constructor(client?: WOQLClient, config?: WOQLTableConfig); client: WOQLClient; config: WOQLTableConfig; /** * set the WOQLTableConfig for this table * @param {WOQLTableConfig} config * @returns {WOQLTable} */ options(config: WOQLTableConfig): WOQLTable; /** * Set the query result using the WOQLResult object * @param {WOQLResult} result - the WOQLResult object * @returns {WOQLTable} */ setResult(result: WOQLResult): WOQLTable; result: WOQLResult; /** * @returns {number} the total result */ count(): number; /** * Get the first object record from the result set * @returns {object} */ first(): object; /** * Get the preview object record from the result set * @returns {object} */ prev(): object; /** * Get the next object record from the result set * @returns {object} */ next(): object; /** * @returns {boolean} */ canAdvancePage(): boolean; canChangePage(): boolean; canRetreatPage(): boolean; getPageSize(): any; setPage(l: any): any; getPage(): any; setPageSize(l: any): any; nextPage(): any; firstPage(): any; previousPage(): any; getColumnsToRender(): any; getColumnHeaderContents(colid: any): any; hidden(col: any): any; /** * Called when you want to change the query associated with the table. */ update(nquery: any): any; hasDefinedEvent(row: any, key: any, scope: any, action: any, rownum: any): boolean; getDefinedEvent(row: any, key: any, scope: any, action: any, rownum: any): any; getRowClick(row: any): any; uncompressed(row: any, col: any): any; getCellClick(row: any, col: any): any; getRowHover(row: any): any; getCellHover(row: any, key: any): any; getColumnOrder(): any; bindings(): any; getColumnFilter(colid: any): any; getColumnDimensions(key: any): { width: any; maxWidth: any; minWidth: any; }; hasColumnOrder: any; hasCellClick: any; hasRowClick: any; hasCellHover: any; hasRowHover: any; getRenderer(key: any, row: any, rownum: any): any; isSortableColumn(key: any): boolean; isFilterableColumn(key: any): boolean; renderValue(renderer: any, val: any, key: any, row: any): any; getRendererForDatatype(val: any): any; getSpecificRender(key: any, row: any): any; } import WOQLClient = require("../woqlClient"); import WOQLTableConfig = require("./tableConfig"); import WOQLResult = require("./woqlResult");