mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-12 08:34:32 +00:00
OptionsCells allowed in Options Interface. Setted field to not required in ColumnLayout. (#40302)
OptionsCells: validationFailed were not referenced in any part of index.d.ts. Adding it in Options interface allows the use for tabulator tables (As showed in examples: http://tabulator.info/examples/4.4?#validation) Field not required in OptionsCells: as commented in old PR field is not required for some type of column (as written in comment: not required in icon/button columns)
This commit is contained in:
committed by
Pranav Senthilnathan
parent
889dae14d5
commit
dfc2db2f8d
3
types/tabulator-tables/index.d.ts
vendored
3
types/tabulator-tables/index.d.ts
vendored
@@ -25,6 +25,7 @@ declare namespace Tabulator {
|
||||
OptionsClipboard,
|
||||
OptionsDataTree,
|
||||
OptionsCell,
|
||||
OptionsCells,
|
||||
OptionsHTML {}
|
||||
|
||||
interface OptionsCells extends CellCallbacks {
|
||||
@@ -834,7 +835,7 @@ declare namespace Tabulator {
|
||||
/** title - Required This is the title that will be displayed in the header for this column */
|
||||
title: string;
|
||||
/** field - Required (not required in icon/button columns) this is the key for this column in the data array*/
|
||||
field: string;
|
||||
field?: string;
|
||||
/** visible - (boolean, default - true) determines if the column is visible. (see Column Visibility for more details */
|
||||
visible?: boolean;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user