Is it possiable that the id and title of group can be assigned
I tried to add group id with props.containerApi.addGroup({id:'customID', direction: 'within' }); , but it did not work
And in my case, title of group is very helpful
it is great if this two props can be added to the feature, thank you for any help you can provide
Providing the group id could probably be exposed. Groups do not have titles though and you also wouldn't be able to place a group with the direction within since that would imply placing a group inside another group.
Could you explain how you would see the title and direction property being applicable to a group here?
In order to create collapsible group, after collapsed, title can display as group name
#664
Providing the group
idcould probably be exposed. Groups do not have titles though and you also wouldn't be able to place a group with the directionwithinsince that would imply placing a group inside another group.Could you explain how you would see the title and direction property being applicable to a group here?
@mathuo Any update with the id attribute for addGroup?
From what I see, addGroup uses options.id when we have a reference panel/group. But without one, it goes to this orthogonalize method, which options isn't passed to.
This seems like an inconsistent behavior, and is more like a bug than an intention. And fixing it can be done easily by updating the method arguments to accept an additional options parameter, I guess.
Apologies for the delay
Fixed in 4.1.0. See https://github.com/mathuo/dockview/releases/tag/v4.1.0