Creating Tabs In Code

You can add tabs to a TabPanel control programmatically rather than using HTML markup. Use the tabs property, to get the collection of tabs and manipulate the collection. This example creates a few tabs in code, and each tab hosts a FlexGrid.