ShowAllColumns shows all the table columns
()
| 334 | |
| 335 | // ShowAllColumns shows all the table columns |
| 336 | func (t *Table) ShowAllColumns() { |
| 337 | |
| 338 | recalc := false |
| 339 | for ci := 0; ci < len(t.header.cols); ci++ { |
| 340 | c := t.header.cols[ci] |
| 341 | if !c.Visible() { |
| 342 | c.SetVisible(true) |
| 343 | recalc = true |
| 344 | } |
| 345 | } |
| 346 | if !recalc { |
| 347 | return |
| 348 | } |
| 349 | t.recalc() |
| 350 | } |
| 351 | |
| 352 | // RowCount returns the current number of rows in the table |
| 353 | func (t *Table) RowCount() int { |
nothing calls this directly
no test coverage detected