add callback function of each cell;