@vuu-ui/vuu-table-types 2.1.9 → 2.1.11
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/index.d.ts +38 -4
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -280,6 +280,9 @@ export interface ColumnDescriptor extends DataValueDescriptor {
|
|
|
280
280
|
* This property can be used to disable this feature for a single column.
|
|
281
281
|
*/
|
|
282
282
|
allowColumnHeaderMenu?: false;
|
|
283
|
+
/**
|
|
284
|
+
* Optional additional CSS className will be applied to column header and all table cells within column.
|
|
285
|
+
*/
|
|
283
286
|
className?: string;
|
|
284
287
|
/**
|
|
285
288
|
* Allows custom content to be rendered into the column header. This will be an identifier.
|
|
@@ -306,16 +309,48 @@ export interface ColumnDescriptor extends DataValueDescriptor {
|
|
|
306
309
|
heading?: string[];
|
|
307
310
|
hidden?: boolean;
|
|
308
311
|
isSystemColumn?: boolean;
|
|
309
|
-
|
|
312
|
+
/**
|
|
313
|
+
* A 'locked' column remains in a fixed position within the columns list. It
|
|
314
|
+
* cannot be moved from this position by the user. Columns can only be locked
|
|
315
|
+
* to one or other end of the columns list , i.e a column can be locked to the end
|
|
316
|
+
* of the columns list or the begining. More than one column can be locked to
|
|
317
|
+
* either end. Note: this is different from 'pin' in that locked columns can be
|
|
318
|
+
* scrolled out of the viewport.
|
|
319
|
+
*/
|
|
320
|
+
locked?: Exclude<PinLocation, "left"> | false;
|
|
310
321
|
maxWidth?: number;
|
|
311
322
|
minWidth?: number;
|
|
323
|
+
/**
|
|
324
|
+
* Pinned columns will 'stick' to the edge of the viewport, irrespective of their
|
|
325
|
+
* position within the columns list. Their position(s) will not change even when
|
|
326
|
+
* the viewport is scrolled horizontally. They can be pinned at the leading or
|
|
327
|
+
* trailing viewport edge. More than one column can be pinned to each edge.
|
|
328
|
+
*/
|
|
312
329
|
pin?: PinLocation | false;
|
|
313
|
-
resizeable?: boolean;
|
|
314
330
|
|
|
315
331
|
/**
|
|
316
|
-
*
|
|
332
|
+
* A removeable column can be manually removed by user. The default value for this is true,
|
|
333
|
+
* and is determined at the table level. The default can be set to false with the table prop
|
|
334
|
+
* allowColumnRemoval. Whatever the table default, the removable prop on a column takes
|
|
335
|
+
* precedence. Note: removal by user is only possible if a ColumnMenu is configured with the
|
|
336
|
+
* appropriate menu item or the ColumnPicker is offered and allows column removal. The
|
|
337
|
+
* intended purpose of this prop is to exclude certain columns from manual removal by the user,
|
|
338
|
+
* even when removal is offered (via the menu or the columnPicker) for other columns.
|
|
317
339
|
*/
|
|
340
|
+
removeable?: boolean;
|
|
318
341
|
|
|
342
|
+
/**
|
|
343
|
+
* A resizeable column can be manually resized by user. The default value for this is true,
|
|
344
|
+
* and is determined at the table level. The default can be set to false with the table prop
|
|
345
|
+
* allowColumnResizing. Whatever the table default, the resizeable prop on a column takes
|
|
346
|
+
* precedence.
|
|
347
|
+
*/
|
|
348
|
+
resizeable?: boolean;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Column and all cells will be rendered in selected state. This is different from row selection
|
|
352
|
+
* and used purely to visually highlight a row. No data is actually selected.
|
|
353
|
+
*/
|
|
319
354
|
selected?: boolean;
|
|
320
355
|
sortable?: boolean;
|
|
321
356
|
/**
|
|
@@ -363,7 +398,6 @@ export interface RuntimeColumnDescriptor extends ColumnDescriptor {
|
|
|
363
398
|
isGroup?: boolean;
|
|
364
399
|
isSystemColumn?: boolean;
|
|
365
400
|
label: string;
|
|
366
|
-
locked?: boolean;
|
|
367
401
|
marginLeft?: number;
|
|
368
402
|
moving?: boolean;
|
|
369
403
|
/** used only when column is a child of GroupColumn */
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuu-ui/vuu-table-types",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.11",
|
|
4
4
|
"devDependencies": {
|
|
5
|
-
"@vuu-ui/vuu-data-types": "2.1.
|
|
6
|
-
"@vuu-ui/vuu-filter-types": "2.1.
|
|
7
|
-
"@vuu-ui/vuu-protocol-types": "2.1.
|
|
5
|
+
"@vuu-ui/vuu-data-types": "2.1.11",
|
|
6
|
+
"@vuu-ui/vuu-filter-types": "2.1.11",
|
|
7
|
+
"@vuu-ui/vuu-protocol-types": "2.1.11"
|
|
8
8
|
},
|
|
9
9
|
"author": "heswell",
|
|
10
10
|
"license": "Apache-2.0",
|