TreeGrid breaks expand button positioning

Hi,


I've tried to indent multiple columns using the template parameter in a column definition. Although templating works fine, the UI gets broken. The expand button is pushed to the new line. I hope it is obvious from the picture below.


The working example is here: https://stackblitz.com/edit/dfqppv?file=index.ts



1 Reply 1 reply marked as answer

GL Gowri Loganathan Syncfusion Team October 5, 2020 09:39 AM UTC

Hi Ssvinciak, 
 
Thanks for contacting Syncfusion Forum. 
 
Query: Issue in Expand button position 
 
To avoid the reported issue we suggest you to define the template as shown in the below code snippet, 
 
…………….. . . . 
columns: [ 
                ………… . .  
                { field: 'taskName', headerText: 'Task Name', width: 200, template: "<span>${taskName} ${duration}</span>" } 
                ………… . . 
           ] 
…………….. . . .  
 
Output 
 
 
 
 
Please get back to us for further assistance. We are happy to assist you. 
 
Regards, 
Gowri V L 
 


Marked as answer
Loader.
Up arrow icon