parent
977c054d71
commit
65d31eff26
|
@ -293,7 +293,7 @@ func demoSetCellValue(mh *modelHandler, m *ui.TableModel, row, column int, value
|
|||
}
|
||||
|
||||
func (mh *modelHandler) NumRows(m *ui.TableModel) int {
|
||||
log.Println("NumRows() with m=", m)
|
||||
log.Println("NumRows() with mh=rows", mh.rows)
|
||||
return mh.rows
|
||||
}
|
||||
|
||||
|
@ -314,6 +314,8 @@ func (mh *modelHandler) CellValue(m *ui.TableModel, row, column int) ui.TableVal
|
|||
log.Println("CellValue NOT DEFINED. This table wasn't setup correctly! mh.scanCellValue == nil")
|
||||
os.Exit(-1)
|
||||
}
|
||||
log.Println("CellValue scanCellValue = ", mh.scanCellValue(mh, row, column))
|
||||
log.Println("CellValue END")
|
||||
return mh.scanCellValue(mh, row, column)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue