![]() |
1. Solution 1:
- Right-click the table > Table Layout
- Add a new column named "No." and then set its value to #{currentRow.tableRow.rowId + 1}
2. Solution 2:
- Create a private property "no" in the page that contains the table
- Write a method "getNo"as below:
private int no = 0;
public int getNo() { return no++; }
- Bind value of no. column to this getter #{no}
| 123.png | ![]() |
149412 bytes |