Closed mddifilippo89 closed 3 weeks ago
Hi team, any updates?
Hello, if I understand correctly you aim is to close the tabs one by one. This is possible by simply using the menu on the tab itself. The header button is indeed meant to close the whole tabgrouppane.
This issue is opened because of https://account.infragistics.com/support-cases/500VM00000BHbjFYAT Long story short, there is a problem with Pane layout, created dynamically. E.g. When splitPane contains two content panes and I need to remove close button from the parent - splitPane (in order to forbid a user to close all inner/child panes by closing the parent one). The request is to have "allowClose" filed in the splitPane (since it could be the parent for content panes) that could be used for not allow to close it
Hi team. This bug fix / enhancement is very important for me. I see that there are no actions with it. What is the actual progress?
Hi @nshukin. We will schedule this for development.
@igdmdimitrov What is the ETA for this? This is considered blocking for @nshukin
Hello @nshukin & @mddifilippo89,
We started looking into this issue. We identified two things we can implement in order to support such scenarios:
closeBehavior
property to the dockManager which will control what would happen when clicking the close button of a content pane when it's part of a tab group pane. The options would be selectedPane
and allPanes
.As this seems to be critical for your project, for the time being I can recommend handling the paneClose
event and prevent closing all panes manually. I implemented this approach in this sample.
Please, let us know if we can be of further assistance.
Hey @gedinakova thank you, really appreciate it. I'll try the paneClose event and waiting the update
Released in 1.15.0
Run sample https://stackblitz.com/edit/hb5uzc
Steps: Close floating pane and tab 1
Result: All tabs are closed.
Recommended solution: Add allowClose to split panes and other types that do not support it and/or only close active pane one at a time.