(col int, order SortOrder)
| 274 | } |
| 275 | |
| 276 | func (srtmb *SortedReflectTableModelBase) Sort(col int, order SortOrder) error { |
| 277 | if srtmb.sort != nil { |
| 278 | return srtmb.sort(col, order) |
| 279 | } |
| 280 | |
| 281 | return srtmb.SorterBase.Sort(col, order) |
| 282 | } |
| 283 | |
| 284 | // Populator is an interface that can be implemented by Reflect*Models and slice |
| 285 | // types to populate themselves on demand. |