SelectedColumnStrings returns the string values of given column name.
(colName string)
| 611 | |
| 612 | // SelectedColumnStrings returns the string values of given column name. |
| 613 | func (tb *Table) SelectedColumnStrings(colName string) []string { |
| 614 | dt := tb.Table.Table |
| 615 | jis := tb.SelectedIndexesList(false) |
| 616 | if len(jis) == 0 || dt == nil { |
| 617 | return nil |
| 618 | } |
| 619 | var s []string |
| 620 | for _, i := range jis { |
| 621 | v := dt.StringValue(colName, i) |
| 622 | s = append(s, v) |
| 623 | } |
| 624 | return s |
| 625 | } |
| 626 | |
| 627 | ////////////////////////////////////////////////////////////////////////////// |
| 628 | // Copy / Cut / Paste |
nothing calls this directly
no test coverage detected