Hi Ashok,
Thanks for contacting Syncfusion Forums.
Query: How do i get expand icon and event when the childMapping key in empty.
From your query and code we suspect that you are using Custom Data Binding. While using Custom Data Binding, we can set “hasChildMapping” of parent records to true for rendering expand icon. On clicking the expand icon, dataStateChange event will be triggered and we can bind child data to the parent in that event. We have already discussed the same in our below help documentation,
If the above solution does not meet your requirement, kindly share us the below details,
- Kindly explain your requirement in detail with exact scenario and dummy data similar to your actual data
- Share us your complete Tree Grid rendering code.
- Share us video demo of your requirement/issue and screenshot of error with complete stack trace (if any)
Regards,
Padmavathy Kamalanathan