TensorDisplayAction allows user to select tensor display options for column pass -1 for global params for the entire table
(fldIndex int)
| 469 | // TensorDisplayAction allows user to select tensor display options for column |
| 470 | // pass -1 for global params for the entire table |
| 471 | func (tb *Table) TensorDisplayAction(fldIndex int) { |
| 472 | ctd := &tb.TensorDisplay |
| 473 | if fldIndex >= 0 { |
| 474 | ctd = tb.SetColumnTensorDisplay(fldIndex) |
| 475 | } |
| 476 | d := core.NewBody().AddTitle("Tensor grid display options") |
| 477 | core.NewForm(d).SetStruct(ctd) |
| 478 | d.RunFullDialog(tb) |
| 479 | // tv.UpdateSliceGrid() |
| 480 | tb.NeedsRender() |
| 481 | } |
| 482 | |
| 483 | func (tb *Table) HasStyler() bool { return false } |
| 484 |
nothing calls this directly
no test coverage detected