ShowHeader shows or hides the table header
(show bool)
| 309 | |
| 310 | // ShowHeader shows or hides the table header |
| 311 | func (t *Table) ShowHeader(show bool) { |
| 312 | |
| 313 | if t.header.Visible() == show { |
| 314 | return |
| 315 | } |
| 316 | t.header.SetVisible(show) |
| 317 | t.recalc() |
| 318 | } |
| 319 | |
| 320 | // ShowColumn sets the visibility of the column with the specified id |
| 321 | // If the column id does not exit the function panics. |
no test coverage detected