DHTMLX Grid : Combine Cells in Grid.

Hi,

I want to have combine cells functionality somewhat similar to MS Excel. How can I achieve this ???

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)

Hi,
     How can I give “size” parameter using blockSelection feature ???

Block selection featrue not purposed for such usage.
You can get position of block selection, and based on it get necessary dimensions

dhtmlx.com/docs/products/kb/inde … 0selection

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?


You can get blockselection params without any additional code modifications.


var size = grid._selectionArea.RightBottomCol-grid._selectionArea.LeftTopCol+1;