Hi, we are trying to create a table with rankings for a competition. We have managed to create an editable table that automatically sorts according to their score, but couldn't figure out how to display a static column on the left that shows ascending value (ie 1,2,3,etc). Any idea how this could be done? Many thanks.
Forums
Adding a Column to table with ascending value
In columns list
RowNumber:#
In Columns Views
RowNumber:{var:table_name.key}
TWO THINGS
1) Don't copy paste, the forums adds hidden characters. Type out manually.
2) This will start from 0. If you NEED it to start from 1 you'll have to call a PHP code block instead where you take that key and add 1.
RowNumber:#
In Columns Views
RowNumber:{var:table_name.key}
TWO THINGS
1) Don't copy paste, the forums adds hidden characters. Type out manually.
2) This will start from 0. If you NEED it to start from 1 you'll have to call a PHP code block instead where you take that key and add 1.
This topic is locked and no more replies can be posted.