mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
@@ -63,7 +63,9 @@ export class RowNumberColumn<T> implements Slick.Plugin<T> {
|
|||||||
|
|
||||||
private formatter(row, cell, value, columnDef: Slick.Column<T>, dataContext): string {
|
private formatter(row, cell, value, columnDef: Slick.Column<T>, dataContext): string {
|
||||||
if (dataContext) {
|
if (dataContext) {
|
||||||
return `<span>${row}</span>`;
|
// row is zero-based, we need make it 1 based for display in the result grid
|
||||||
|
//
|
||||||
|
return `<span>${row + 1}</span>`;
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user