implement getting cell class from function
implement api for starting editing a cell externally