TitleEffective returns the effective text to display in the column header.
()
| 202 | |
| 203 | // TitleEffective returns the effective text to display in the column header. |
| 204 | func (tvc *TableViewColumn) TitleEffective() string { |
| 205 | if tvc.titleOverride != "" { |
| 206 | return tvc.titleOverride |
| 207 | } |
| 208 | |
| 209 | if tvc.title != "" { |
| 210 | return tvc.title |
| 211 | } |
| 212 | |
| 213 | return tvc.DataMemberEffective() |
| 214 | } |
| 215 | |
| 216 | // Visible returns if the column is visible. |
| 217 | func (tvc *TableViewColumn) Visible() bool { |
no test coverage detected