mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
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:
@@ -57,7 +57,8 @@ export default class TableComponent extends ComponentBase implements IComponent,
|
|||||||
id: col.value,
|
id: col.value,
|
||||||
field: col.value,
|
field: col.value,
|
||||||
width: col.width,
|
width: col.width,
|
||||||
cssClass: col.cssClass
|
cssClass: col.cssClass,
|
||||||
|
toolTip: col.toolTip
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
return <Slick.Column<any>>{
|
return <Slick.Column<any>>{
|
||||||
|
|||||||
@@ -7,3 +7,8 @@
|
|||||||
{
|
{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.align-with-header
|
||||||
|
{
|
||||||
|
padding-left:3px !important;
|
||||||
|
}
|
||||||
1
src/sql/sqlops.proposed.d.ts
vendored
1
src/sql/sqlops.proposed.d.ts
vendored
@@ -499,6 +499,7 @@ declare module 'sqlops' {
|
|||||||
value: string;
|
value: string;
|
||||||
width?: number;
|
width?: number;
|
||||||
cssClass?: string;
|
cssClass?: string;
|
||||||
|
toolTip?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TableComponentProperties extends ComponentProperties {
|
export interface TableComponentProperties extends ComponentProperties {
|
||||||
|
|||||||
Reference in New Issue
Block a user