Hi!
I'm creating a TabPanel but in the documentation of the Tab class, almos all configs are "read only" because in the documentation is written "It is managed by the tab panel is not set directly.", so why the config exists?
Hi henrique,
You can create a TabPanel by following this documentation page, it has an example in the start.
The TabPanel is the top widget, which then contains Tab and TabBar.
in the sample os the tab documentation exists a property called "Title" and "Icon"
The "icon" is part of the Tab Widget, mentioned in the https://bryntum.com/products/grid/docs/api/Core/widget/Tab#property-icon, which should be written inside the tab.
let tabPanel = new TabPanel({
items: [
{
title: 'Settings',
// Tab configs
tab : {
// Show an icon in the tab
icon : 'b-fa b-fa-cog'
},
items: [
...
]
}
]
});
Arsalan
Developer Advocate
Do you read this link https://bryntum.com/products/grid/docs/api/Core/widget/Tab?
Looks outdated yes, we'll get it fixed - thanks a lot for reporting! https://github.com/bryntum/support/issues/8391