Add support for custom heights on cells

If any cells have a custom height, then the row height is set to the maximum values of that custom height.