Documentation ¶
Index ¶
- type CellType
- type DataCell
- type Header
- type Table
- type TableCell
- type TableData
- func (td *TableData) AddColumnFromTable(newColumnName, oldColumnName string, otherTable *TableData) error
- func (td *TableData) AddStringCell(column string, value string)
- func (td *TableData) AddStringRow(columns []string, row []string)
- func (td *TableData) Clear()
- func (td *TableData) ColumnCount() int
- func (td *TableData) Get(col, row int) string
- func (td *TableData) GetColumn(columnName string) []DataCell
- func (td *TableData) GetFromColumn(column string, row int) string
- func (td *TableData) GetRows(column string) []DataCell
- func (td *TableData) InsertStringCell(column string, row int, value string)
- func (td *TableData) RenameColumn(oldName, newName string)
- func (td *TableData) RowCount() int
- func (td *TableData) SetIds(ids []string) error
- func (td *TableData) Sort(column string, ascending bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct { TableCell // contains filtered or unexported fields }
func (*Header) CreateRenderer ¶
func (h *Header) CreateRenderer() fyne.WidgetRenderer
func (*Header) RefreshSortIcon ¶
func (h *Header) RefreshSortIcon()
type Table ¶
type Table struct { widget.BaseWidget SelectionColor color.Color CellBgColor color.Color // contains filtered or unexported fields }
func (*Table) CreateRenderer ¶
func (t *Table) CreateRenderer() fyne.WidgetRenderer
type TableCell ¶
type TableCell struct { widget.BaseWidget Id widget.TableCellID // contains filtered or unexported fields }
func (*TableCell) ColumnName ¶
func (*TableCell) CreateRenderer ¶
func (c *TableCell) CreateRenderer() fyne.WidgetRenderer
type TableData ¶
type TableData struct { TableName string TableId string Columns []string // Used to save the order of columns RowIds []string RowCategory string // contains filtered or unexported fields }
func NewTableData ¶
func (*TableData) AddColumnFromTable ¶
func (*TableData) AddStringCell ¶
func (*TableData) AddStringRow ¶
func (*TableData) ColumnCount ¶
func (*TableData) InsertStringCell ¶
func (*TableData) RenameColumn ¶
Click to show internal directories.
Click to hide internal directories.