These samples illustrates the various options to format the Grid cells Dynamically
Format Cells Demo - This sample simulates the FormatCells dialog feature of Excel.
Virtual Merge Cell Demo- This sample demonstrates the dynamic(on the fly) merging of cells.