declarative table improvement (#15024)

This commit is contained in:
Alan Ren
2021-04-07 15:27:47 -07:00
committed by GitHub
parent a7a6918b1a
commit 6a55c402a4
5 changed files with 39 additions and 21 deletions

View File

@@ -256,7 +256,6 @@ declare module 'azdata' {
rowCssStyles?: CssStyles;
ariaLabel?: string;
showCheckAll?: boolean;
isChecked?: boolean;
}
@@ -384,9 +383,23 @@ declare module 'azdata' {
}
export interface DeclarativeTableCellValue {
/**
* The cell value
*/
value: string | number | boolean | Component;
/**
* The aria-label of the cell
*/
ariaLabel?: string;
style?: CssStyles
/**
* The CSS style of the cell
*/
style?: CssStyles;
/**
* A boolean value indicates whether the cell is enabled. Default value is true.
* Note: this is currently only implemented for boolean type (checkbox).
*/
enabled?: boolean;
}
/**