| Code Block |
---|
{
xtype: 'label',
id: 'tooltipCmp',
text: 'Hover to show tooltip',
listeners: {
'afterrender': function () {
Ext.create('Ext.tip.ToolTip', {
target: 'tooltipCmp',
toolTipType: 'error',
title: 'Tooltip Header',
html: 'Aliquam sollicitudin, tincidunt mi volutpat semper'
});
}
}
} |
|
arning tooltip | (as-tooltip-warning) | | Image Modified | Code Block |
---|
{
xtype: 'label',
id: 'tooltipCmp',
text: 'Hover to show tooltip',
listeners: {
'afterrender': function () {
Ext.create('Ext.tip.ToolTip', {
target: 'tooltipCmp',
toolTipType: 'warning',
title: 'Tooltip Header',
html: 'Aliquam sollicitudin, tincidunt mi volutpat semper'
});
}
}
} |
|
Info tooltip | (as-tooltip-info) | | Image Modified | Code Block |
---|
{
xtype: 'label',
id: 'tooltipCmp',
text: 'Hover to show tooltip',
listeners: {
'afterrender': function () {
Ext.create('Ext.tip.ToolTip', {
target: 'tooltipCmp',
toolTipType: 'info',
title: 'Tooltip Header',
html: 'Aliquam sollicitudin, tincidunt mi volutpat semper'
});
}
}
} |
|
Help tooltip | (as-tooltip-help) | | Image Modified | Code Block |
---|
{
xtype: 'label',
id: 'tooltipCmp',
text: 'Hover to show tooltip',
listeners: {
'afterrender': function () {
Ext.create('Ext.tip.ToolTip', {
target: 'tooltipCmp',
toolTipType: 'help',
title: 'Tooltip Header',
html: 'Aliquam sollicitudin, tincidunt mi volutpat semper'
});
}
}
} |
|
Tabs | N/A | | Image Added | Code Block |
---|
{
xtype: 'tabpanel',
activeTab: 0,
items: [
{
title: 'Tab 1',
html: 'Tab 1 content'
},
{
title: 'Tab 2',
html: 'Tab 2 content'
},
{
title: 'Tab 3',
html: 'Tab 3 content'
},
{
title: 'Tab 4',
html: 'Tab 4 content'
}
]
} |
|
Treepanel | N/A | | Image Added | Code Block |
---|
{
xtype: 'treepanel',
collapsible: true,
title: 'Tree Structure',
root: {
text: 'Root Node',
expanded: true,
children: [{
text: 'Item 1',
leaf: true
}, {
text: 'Item 2',
leaf: true
}, {
text: 'Folder',
children: [{
text: 'Item 3',
leaf: true
}]
}]
}
} |
|
Excel grid (/wiki/spaces/AR/pages/745406948 ) | as-excel-grid | | Image Added | Code Block |
---|
{
xtype: 'grid',
cls: 'as-excel-grid',
store: {
fields:[ 'name', 'email', 'phone'],
data: [
{ name: 'contact1', email: '111@verint.com', phone: '555-111-1224' },
{ name: 'contact2', email: '222@verint.com', phone: '555-222-1234' },
{ name: 'contact3', email: '333@verint.com', phone: '555-222-1244' },
{ name: 'contact4', email: '444@verint.com', phone: '555-222-1254' }
]
},
columns: [
{ text: 'Name', dataIndex: 'name' },
{ text: 'Email', dataIndex: 'email', flex: 1 },
{ text: 'Phone', dataIndex: 'phone' }
]
} |
|
Breadcrumbs | | | Image Added | |
Popover | as-popover | | Image Added | Code Block |
---|
{
xtype: 'label',
html: 'tooltip here',
listeners: {
afterrender: function (btn) {
btn.tip = Ext.create('Ext.tip.ToolTip', {
target: btn.getEl(),
dismissDelay: 0,
trackMouse: true,
renderTo: Ext.getBody(),
cls: 'as-popover',
anchor: 'l',
items:[{
xtype: 'panel',
width: 300,
html: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Id venenatis a condimentum vitae sapien. Sagittis eu volutpat odio facilisis mauris sit amet massa vitae. ',
}
],
tbar: [
{
xtype: 'panel',
width: 300,
layout: {
type: 'hbox',
align: 'stretch',
},
items: [
{
xtype: 'label',
height: 31,
flex: 6,
text: 'Header',
}
]
}
]
});
},
destroy: function (btn) {
if (btn.tip) {
btn.tip.destroy();
}
}
},
} |
|