MCPcopy Index your code
hub / github.com/g3n/engine / firstPage

Method firstPage

gui/table.go:1076–1085  ·  view source on GitHub ↗

firstPage shows the first page of rows and selects the first row

()

Source from the content-addressed store, hash-verified

1074
1075// firstPage shows the first page of rows and selects the first row
1076func (t *Table) firstPage() {
1077
1078 if len(t.rows) == 0 {
1079 return
1080 }
1081 t.firstRow = 0
1082 t.rowCursor = 0
1083 t.recalc()
1084 t.Dispatch(OnChange, nil)
1085}
1086
1087// lastPage shows the last page of rows and selects the last row
1088func (t *Table) lastPage() {

Callers 1

onKeyMethod · 0.95

Calls 2

recalcMethod · 0.95
DispatchMethod · 0.65

Tested by

no test coverage detected