Title: Tree change arrow icon on the fly Post by: sky-t on January 17, 2019, 03:01:19 PM Hi there,
is ist possible to change the arrow icon of tree on the fly (I am sure you have solution for this)? I want to realise an request to a websocket and wait for the response. While waiting for the response i want to show a waiting icon and after received the result from the websocket change back to the arrow icon. Thank you for your Help! Title: Re: Tree change arrow icon on the fly Post by: jarry on January 17, 2019, 07:32:17 PM The tree has the builtin lazy loading functionality. Please look at this example.
https://www.jeasyui.com/demo/main/index.php?plugin=Tree&theme=material-teal&dir=ltr&pitem=Async%20Tree&sort=asc If you are using the combotree component, please call this line to show the loading icon. Code: $('#ct').next().find('.combo-arrow').addClass('pagination-loading'); |