The sample below demonstrates multiline cells in grid.
enableMultiline method makes all grid multiline. But you have possibility to set some rows/columns with fixed height (not as multiline) using custom code like in this sample. Cells in the third column are not multiline.