How can I hide icon again after load ajax onDataRequest no data found ?
As the rendered icon depends on two parameters (obj.open && obj.$count <= 0), you can change one or both of them to render the proper icon.
obj.open && obj.$count <= 0
In the below example, the sequence of actions is changed a bit to update these parameters in time and demonstrate two options:
1. folder may stay unopened (so the user may try to open it one more time)
2. folder with no nested data may become an item (see line 27)
Yes, it working, Thank you for your detailed explanation and great support
It looks like you're new here. If you want to get involved, click one of these buttons!