mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 09:35:37 -05:00
remove autosize and change column header css to properly respect column sizes (#2480)
This commit is contained in:
committed by
Karl Burtram
parent
432a209184
commit
4ceb869420
@@ -48,11 +48,14 @@ export class RowNumberColumn<T> implements Slick.Plugin<T> {
|
||||
}
|
||||
|
||||
public getColumnDefinition(): Slick.Column<T> {
|
||||
let columnWidth = this.options.numberOfRows.toString().length * sizePerDigit;
|
||||
return {
|
||||
id: 'rowNumber',
|
||||
name: '',
|
||||
field: 'rowNumber',
|
||||
width: this.options.numberOfRows.toString().length * sizePerDigit,
|
||||
width: columnWidth,
|
||||
minWidth: columnWidth,
|
||||
maxWidth: columnWidth,
|
||||
resizable: false,
|
||||
cssClass: this.options.cssClass,
|
||||
focusable: false,
|
||||
|
||||
Reference in New Issue
Block a user