Add more padding in all the child elements of tree grid with remote data using DataManager

Hi Team,

How to add more padding in all the child elements of a tree grid? I found following solution in syncfusion forum:  More Padding Left In TreeGrid Child First Column | Angular - EJ 2 Forums | Syncfusion, but this works only when all data is provided at once.
In my case I use data manager to get remote data where 'level' property is always 0, how to achieve it in this case?


1 Reply

VP Vasu Perumal Syncfusion Team May 23, 2024 01:37 PM UTC

Hi Tuariq Beg,


Greetings from Syncfusion support.


We have prepared a sample with remote data and increased the indent space by adding a span element before the needed cells. The modifications are adopted from the forum as you shared  for local data. The modifications have been done to the sample and attached. Kindly use it for you reference.


Sample : https://stackblitz.com/edit/angular-reuy9k?file=src%2Fapp.component.ts


Screenshot:-

Image_4812_1716471422910


If your sample differs from the sample we have shared, kindly share a simple issue replicable sample or try replicating the issue from the shared sample.


We are happy to assist you further.


Regards,

Vasu P.


Loader.
Up arrow icon