firstPage shows the first page of rows and selects the first row
()
| 1074 | |
| 1075 | // firstPage shows the first page of rows and selects the first row |
| 1076 | func (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 |
| 1088 | func (t *Table) lastPage() { |