lots of working around handsontable apis to get it work correctly