ejs-dropdowntree - Select all not setting display text for the dropdown

Is there any option to select all items when component loads. I tried below. It selects all element but the display text on the dropdown is empty even though all checkbox are checked. Once I click on the dropdown to expand the display text populates.

  onCreate(event): void {
    this.ddTreeObj.selectAll(true);
  }

1 Reply 1 reply marked as answer

SM Shalini Maragathavel Syncfusion Team May 13, 2021 10:03 AM UTC

Hi Randall, 

Greetings from Syncfusion support. 

Based on the query, we understand that you are facing an issue while trying to display all the selected items of the Dropdown Tree component at initial rendering. We checked this case from our end but unfortunately we are unable to reproduce it as the selected items using selectAll method was displayed properly. You can check the below sample for your reference, 


If the issue persists, kindly share the following details that will be helpful for us to provide better solution.

1) If possible, please replicate the issue in the attached sample or provide us a simple sample to replicate the issue.  

2) Share your complete Dropdown Tree rendering code. 

2) Syncfusion package version used in your sample. 
Please let us know, if you need further assistance.  

Regards, 
Shalini M. 


Marked as answer
Loader.
Up arrow icon