MCPcopy
hub / github.com/g3n/engine / ShowHeader

Method ShowHeader

gui/table.go:311–318  ·  view source on GitHub ↗

ShowHeader shows or hides the table header

(show bool)

Source from the content-addressed store, hash-verified

309
310// ShowHeader shows or hides the table header
311func (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.

Callers 2

buildTableFunction · 0.95
NewStatsTableFunction · 0.80

Calls 3

recalcMethod · 0.95
VisibleMethod · 0.65
SetVisibleMethod · 0.65

Tested by

no test coverage detected