Tree Grid Height

Hi, 

I am looking to see if it is possible to change the height of a treegrid. I have looked over the documentation, and unable to find anything that can help. 

Any Help would be appricated. 

Thanks

Paul 

1 Reply

PE Punniyamoorthi Elangovan Syncfusion Team May 9, 2018 01:32 PM UTC

Hi Paul, 
Thank you for contacting Syncfusion support. 
We have analyzed your requirement. The TreeGrid have the support to change the height and we can set the height to the TreeGrid control by using sizeSettings property. Please refer the below code snippet. 
@(Html.EJ().TreeGrid("container") 
             .ChildMapping("subtasks") 
             .TreeColumnIndex(1) 
              //.. 
             .SizeSettings(ss => ss.Height("350px")) 
              //.. 
) 
Please find more details about the sizeSettings property is here. 
Please let us know if you require further assistance on this. 
Regards, 
Punniyamoorthi 


Loader.
Up arrow icon