mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 07:38:53 +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[]) {
|
export function buildColumnDefinitions(info: PromotedAttributeInformation[]) {
|
||||||
const columnDefs: ColumnDefinition[] = [
|
const columnDefs: ColumnDefinition[] = [
|
||||||
|
{
|
||||||
|
title: "#",
|
||||||
|
formatter: "rownum",
|
||||||
|
headerSort: false,
|
||||||
|
hozAlign: "center",
|
||||||
|
resizable: false,
|
||||||
|
frozen: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
field: "iconClass",
|
field: "iconClass",
|
||||||
title: "Icon",
|
title: "Icon",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user