mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 01:25:38 -05:00
fix race condition in declarative table (#15801)
This commit is contained in:
9
src/sql/azdata.proposed.d.ts
vendored
9
src/sql/azdata.proposed.d.ts
vendored
@@ -274,6 +274,12 @@ declare module 'azdata' {
|
||||
* will clear the filter
|
||||
*/
|
||||
setFilter(rowIndexes: number[] | undefined): void;
|
||||
|
||||
/**
|
||||
* Sets the data values.
|
||||
* @param v The new data values
|
||||
*/
|
||||
setDataValues(v: DeclarativeTableCellValue[][]): Promise<void>;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -372,7 +378,8 @@ declare module 'azdata' {
|
||||
|
||||
export interface DeclarativeTableProperties {
|
||||
/**
|
||||
* dataValues will only be used if data is an empty array
|
||||
* dataValues will only be used if data is an empty array.
|
||||
* To set the dataValues, it is recommended to use the setDataValues method that returns a promise.
|
||||
*/
|
||||
dataValues?: DeclarativeTableCellValue[][];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user