Closed mark-summerfield closed 2 years ago
I’ll add it to the opts. For the time being you can change the row header values:
for i in 0..30 {
table.set_row_header_value(i, &i.to_string());
}
That almost works, here's what does:-)
for i in 0..30 {
table.set_row_header_value(i, &(i + 1).to_string());
}
Indeed :) The latest main now starts row count at 1.
Although internally we expect row numbers to start at 0, the row numbers displayed by a table conventionally start at 1. This should at least be an option.