mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 23:29:02 +02:00
feat(views/table): add row number
This commit is contained in:
parent
bc36676fa1
commit
0e27cd0801
@ -31,6 +31,14 @@ export async function buildData(parentNote: FNote, info: PromotedAttributeInform
|
||||
|
||||
export function buildColumnDefinitions(info: PromotedAttributeInformation[]) {
|
||||
const columnDefs: ColumnDefinition[] = [
|
||||
{
|
||||
title: "#",
|
||||
formatter: "rownum",
|
||||
headerSort: false,
|
||||
hozAlign: "center",
|
||||
resizable: false,
|
||||
frozen: true
|
||||
},
|
||||
{
|
||||
field: "iconClass",
|
||||
title: "Icon",
|
||||
|
Loading…
x
Reference in New Issue
Block a user