HiddenColumns returns the hidden column names in datatable
()
| 52 | |
| 53 | // HiddenColumns returns the hidden column names in datatable |
| 54 | func (t *DataTable) HiddenColumns() []string { |
| 55 | var cols []string |
| 56 | for _, col := range t.cols { |
| 57 | if !col.IsVisible() { |
| 58 | cols = append(cols, col.Name()) |
| 59 | } |
| 60 | } |
| 61 | return cols |
| 62 | } |
| 63 | |
| 64 | // Column gets the column with name |
| 65 | // returns nil if not found |