Skip to content
Randall O'Reilly edited this page Dec 30, 2019 · 2 revisions

The etview package provides GUI views of Tensor, Table, and SimMat data structures, using the GoGi GUI system.

These views are automatically registered using the GoGi ValueView framework, so if you add the following critical import to your code somewhere, you'll automatically get these views showing up for the associated etable types.

import (
	_ "github.com/emer/etable/etview" // include to get gui views
)

TableView

The etview.TableView view of an etable.Table provides powerful interactive data manipulation features:

  • Sorting: Click on column headers to sort by values in that column (only for scalar cells -- tensor cells pull up a configuration for the grid view)

  • Filtering / Searching: Click on the Filter button to select rows to view based on contents of a column (optionally using contains / ignore case logic).

  • Drag-n-Drop / Copy / Paste: full support for manipulating rows of data using these standard GUI operations -- select multiple rows using shift or ctrl / command keys.

Clone this wiki locally