()
| 177 | } |
| 178 | |
| 179 | func (tb *Table) UpdateSliceSize() int { |
| 180 | tb.Table.DeleteInvalid() // table could have changed |
| 181 | if tb.Table.Len() == 0 { |
| 182 | tb.Table.Sequential() |
| 183 | } |
| 184 | tb.SliceSize = tb.Table.Len() |
| 185 | tb.NCols = tb.Table.Table.NumColumns() |
| 186 | return tb.SliceSize |
| 187 | } |
| 188 | |
| 189 | func (tb *Table) UpdateMaxWidths() { |
| 190 | if len(tb.headerWidths) != tb.NCols { |
nothing calls this directly
no test coverage detected