Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Div
idProductTOC

On this page

Table of Contents
maxLevel1
excludeOn this page
typeflat
separatorpipe

Overview

This page shows how you can use Augments augments to add a row number to the data . It and can be added in to any position.

Macro

...

browser input

Select this

...

macro

Macro NamenameAdvanced Table - CSV Table
Macro Syntaxsyntax{csv}

Define these

...

parameters/

...

values

CSV Table settings > Data settings > Output formatwiki
CSV Table settings > Sorting > Columns to display,Product,Sales
CSV Table settings > Data format > Augments to data row values%#%

Screenshot

Wiki

...

markup input

Code Block
languagetext
linenumberstrue
{csv:columns=,Product, Sales|augments=%#%}
Product, Sales
ABC, 1000
XYZ, 2000
{csv}

Example

...

result

Image RemovedImage Added

Note
titlePersistent row number

This row number is added to the HTML table produced by the macro just as if it was in the original CSV data. This will show is shown in an exported page. This is different than selecting Auto number each row for the table which is a browser display option only.

Other

...

examples

Visit our full list of product examples for additional inspiration!Image Removed