Hello, i have been able to merge some cells on the ondataload call ... but when saving the treelist something triggers the cells to go back to normal... is there an event etc that I can call my merge cells function after saving?
post save
1 Answer, 1 is accepted
0
Nikolay
Telerik team
answered on 16 Aug 2021, 09:01 AM
Hello,
You can try invoking the logic for merging the cells in the save or saveChanges event handlers.
The save event fires when a data item is saved while the saveChanges when the user clicks the Save command button. I suggest trying both to see which one works best.
thx tried both but its not working... something is resetting the colspan of the td back to 1...
Nikolay
Telerik team
commented on 19 Aug 2021, 05:56 AM
Hello.
The rows of the Kendo UI TreeList widget are dynamically created. Therefore, the merging of cells is generally not supported. A possible workaround is to override the HTML of the TreeList. And this has to be done every time the widget is bound.
You can use the dataBound event which fires the widget is bound to data from its data source.