flameresttable 1.0.117 → 1.0.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Table/Columns.ts +8 -2
- package/tsconfig.json +1 -1
package/package.json
CHANGED
package/src/Table/Columns.ts
CHANGED
|
@@ -310,7 +310,7 @@ export interface IColumn {
|
|
|
310
310
|
Table?: {
|
|
311
311
|
isShow?: boolean,
|
|
312
312
|
title?: string,
|
|
313
|
-
value?: (row: any, column: Column) =>
|
|
313
|
+
value?: (row: any, column: Column) => any,
|
|
314
314
|
isRawValue?: boolean,
|
|
315
315
|
click?: (row: any, column: Column) => void,
|
|
316
316
|
classes?: string,
|
|
@@ -388,6 +388,12 @@ export interface IColumn {
|
|
|
388
388
|
*/
|
|
389
389
|
Selector?: {
|
|
390
390
|
|
|
391
|
+
/**
|
|
392
|
+
* Нужна авто-предзагрузка значений при загрузке страницы
|
|
393
|
+
* [полная таблица]
|
|
394
|
+
*/
|
|
395
|
+
preload?: boolean,
|
|
396
|
+
|
|
391
397
|
/**
|
|
392
398
|
* Загрузчик значений ручной
|
|
393
399
|
* @returns ITableSelectorItem[]
|
|
@@ -412,7 +418,7 @@ export interface IColumn {
|
|
|
412
418
|
* @param col
|
|
413
419
|
* @returns
|
|
414
420
|
*/
|
|
415
|
-
value?: (row: any, col: string) =>
|
|
421
|
+
value?: (row: any, col: string) => any
|
|
416
422
|
|
|
417
423
|
},
|
|
418
424
|
|