How can I hide icon again after load ajax onDataRequest no data found ?
https://snippet.webix.com/k9ztn0h8
Hi @finzaiko
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.
In the below example, the sequence of actions is changed a bit to update these parameters in time and demonstrate two options:
- folder may stay unopened (so the user may try to open it one more time)
- folder with no nested data may become an item (see line 27)
Hi @Listopad
Yes, it working, Thank you for your detailed explanation and great support