// implemented a few callbacks from table to spreadsheet model