just wondering for your dhtmlxDBAdmin demoapp, did you use dhtmlx tabbars to create those tabs that popups when you select a row in the tree?
If so, how did you create the tabs with that close icon/button?
Thank you,
Yep, tabbar in right part is an instance of dhtmlxTabbar
Component has native support for close buttons, such mode can be enabled with
tabbar.enableTabCloseButton(true)
Command need to be executed before adding tabs.
hello,
thanks a lot for the info, just had another question:
on closing the tab, does it also take care of destroying the used memory by attached objects such as grid/toolbar?
Or should it be done manually?
thanks,
The code will not call destructors of components automatically, but you can assing any custom code through setOnTabClose method, and call necessary destructors from there.