Categories | Question details Back To List | ||
DHTMLX Grid : Combine Cells in Grid. Hi, I want to have combine cells functionality somewhat similar to MS Excel. How can I achieve this ???? Answer posted by Support on Aug 12, 2008 06:56 There is no ready to use GUI for such task Cells can be spaned programmatically, by grid.setColspan(id,index,size) grid.setRowspan(id,index,size) Answer posted by Tejas Shah on Aug 12, 2008 07:49 Hi, How can I give "size" parameter using blockSelection feature ??? Answer posted by Support on Aug 12, 2008 09:37 Block selection featrue not purposed for such usage. You can get position of block selection, and based on it get necessary dimensions http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=4172&ssr=yes&s=block%20selection Answer posted by Tejas Shah on Aug 12, 2008 23:10 Hi, Is there some way or what do I need to change in the corr JS file so that its not necessary to hardcode the "size" paramter like 2 or 3 instead what number of cells choosen by user? Answer posted by Support on Aug 13, 2008 02:45 You can get blockselection params without any additional code modifications. var size = grid._selectionArea.RightBottomCol-grid._selectionArea.LeftTopCol+1; |