MCPcopy Index your code
hub / github.com/andlabs/ui / ColumnTypes

Method ColumnTypes

tablemodel.go:116–116  ·  view source on GitHub ↗

ColumnTypes returns a slice of value types of the data stored in the model columns of the TableModel. Each entry in the slice should ideally be a zero value for the TableValue type of the column in question; the number of elements in the slice determines the number of model columns in the TableModel

(m *TableModel)

Source from the content-addressed store, hash-verified

114 // method is not guaranteed to be called depending on the
115 // system.
116 ColumnTypes(m *TableModel) []TableValue
117
118 // NumRows returns the number or rows in the TableModel.
119 // This value must be non-negative.

Callers 2

Implementers 1

modelHandlerexamples/table.go

Calls

no outgoing calls

Tested by

no test coverage detected