Categories | Question details Back To List | ||
DHTMLX Grid : Combine the content of two cells. Hi, I want to combine the content of two or more SELECTED cells in grid. How to do it ? Answer posted by Support on Aug 04, 2008 06:38 Not sure what do you mean by "combine", but cells can be combined horizontaly by colspanned grid.setColSpan(id,index,length) or verticaly, by grid.setRowspan(id,index,length) http://dhtmlx.com/docs/products/dhtmlxGrid/samples/rows_columns_manipulations/pro_colspan.html?un=1217858330000 Answer posted by Tejas Shah on Aug 04, 2008 08:11 Hi, Actually I want to have "Merge Cells" feature of MS Excel which works for SELECTED cells. How to achieve it ? Answer posted by Support on Aug 04, 2008 08:41 Grid selection modes doesn't allow to select just a group of cells. The selection based on rows, so the grid can have one or mutliple selected rows, and ony one selected cell in same moment of time. There is no ready to use UI for multi-selection of cells ( block - selection feature purposed for clipboard operations only ) Answer posted by Tejas Shah on Aug 05, 2008 05:57 Hi, I think its possible to select a group of cells using .enableBlockSelection(), Right ?????? Answer posted by Support on Aug 05, 2008 08:07 Yes, but this functionality highly oriented on clipboard operation Technically it possible to get coordinates of selecte area and perform some action against it
|