I realize the documentation for esri.dijit.Legend details no events for it, but I'm wondering if anyone is aware of any that are behind the scenes that I could tap into.I am providing functionality to dynamically change the rendering for a layer and the user may decide to display 5 legend items or 10 legend items (just as an example). My problem is that if they choose to display the layer using 5, the legend is displayed in the <DIV> fine...it's height and width is dynamically updated to the appropriate size for what the Legend returned. If the user changes to display the layer using 10 legend items, the Legend <DIV>'s content is updated but its size is not. I have to manually resize its container to get the <DIV> itself to resize so I can see the additional entries. Anyway, I'm fine with introducing the resizing code myself, but I need a Legend event to trap to trigger when to do so. Is there something that will help me with this?Cheersjtm
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.