Add tooltip for table column headers and align header and cell (#3909)

* Adding tooltip and lining up header and cell

* moving padding to separate css class
This commit is contained in:
kisantia
2019-02-06 11:46:24 -08:00
committed by GitHub
parent 50b971477b
commit 327a5f5fae
3 changed files with 8 additions and 1 deletions

View File

@@ -57,7 +57,8 @@ export default class TableComponent extends ComponentBase implements IComponent,
id: col.value,
field: col.value,
width: col.width,
cssClass: col.cssClass
cssClass: col.cssClass,
toolTip: col.toolTip
};
} else {
return <Slick.Column<any>>{

View File

@@ -6,4 +6,9 @@
.center-align
{
text-align: center;
}
.align-with-header
{
padding-left:3px !important;
}

View File

@@ -499,6 +499,7 @@ declare module 'sqlops' {
value: string;
width?: number;
cssClass?: string;
toolTip?: string;
}
export interface TableComponentProperties extends ComponentProperties {