Categories | Question details Back To List | ||||||||
TreeGrid Hi, I've seen in the documentation that it was possible to merge cells in a treegrid, but i can't see an example. What we are looking for is a treegrid with @ the deepest level, an item on just one cell. For example the three grid is made of 5 column, if i expand until the deepest level, there should be one line with just one cell (merging the 5 columns) in which we would like to attach the editor. Would it be possible??? Regards, Yoann Maingon Prodeos Answer posted by dhxSupport on Oct 08, 2009 10:26 You can merge cell in treeGrid as well as in Grid. Example is available here http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/16_rows_columns_manipulations/21_pro_rowspan.html. If you need treeGrid example please contact directly support@dhtmlx.com and provide you ref. ID. Answer posted by Yoann Maingon on Oct 08, 2009 10:35 Sorry for the misunderstanding. I was asking about merging cells on the same line, not on the same column. I attached a picture of what we need.
Attachments (1)
Answer posted by Stanislav (support) on Oct 09, 2009 08:37 Yes, colspans can be used grid and treegrid. http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/16_rows_columns_manipulations/05_pro_colspan.html - add enableCollSpan(true) to the init - use colspan attribute in xml or setColspan command after data loading. |