dhtmlxgrid cells shrinking in size when clicked to edit

I m very new to dhtmlxgrid, The cells in the cell is having some dependency with other cells , hence if is there is only one value in the entire row and if the cell is clicked to edit it shrinks(reduces in size). Also if selected cell has only line value and if other cells in the row has 2 lines , and when that single line cell is clicked to edit it increases in size than the normal one.

Unfortunately the issue cannot be reconstructed.
Please, provide any kind of sample to reconstruct the issue.