I am hosting igx-tree-grids inside a dock manager. Some of the treegrids are created inside a tabGroupPane and are not visible until the users clicks on the required tab.
I need to know when a contentPane first becomes visible so that I can delay loading data inside the pane until the user requests to see it, and so that column auto-sizing will work correctly, which it doesn't unless the content is visible to the user.
I can't see any way to do this from the api, and I'm quite new to web development so not sure if there are any css/html tricks that could be employed.
Hello Cameron,
You should know which panes are initially visible since the first tab in each tab group is selected by default unless you have specified anything else in the selectedIndex property.
Sincerely,Diyan DimitrovSenior Software Developer
Hi Diyan
Thanks this sounds good. Please note though that just knowing the active pane and when it changes won't quite be enough. There can be multiple panes in the DockManager which are not active but are visible to the user. So what would be ideal is some event which tells me when individual panes become visible, or are hidden.
Thanks,
Cameronj
Hello,
Currently there is no Dock Manager API that notifies you for a change in the selected tab. However we are working on adding active pane feature to the Dock Manager so we will make sure to expose an activePaneChanged event as well.