toggleRowSel toogles the specified row selection state Should be used only when multi row selection is enabled
(ri int)
| 1109 | // toggleRowSel toogles the specified row selection state |
| 1110 | // Should be used only when multi row selection is enabled |
| 1111 | func (t *Table) toggleRowSel(ri int) { |
| 1112 | |
| 1113 | trow := t.rows[ri] |
| 1114 | trow.selected = !trow.selected |
| 1115 | t.Dispatch(OnChange, nil) |
| 1116 | } |
| 1117 | |
| 1118 | // setColWidth sets the width of the specified column |
| 1119 | func (t *Table) setColWidth(c *tableColHeader, width float32) { |