Hide icon tree after no data request

How can I hide icon again after load ajax onDataRequest no data found ?



  • edited February 24

    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:
    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)


  • Hi @Listopad

    Yes, it working, Thank you for your detailed explanation and great support

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!