मैं इस तरह एक ExtJS बटन है:ExtJS unpress बटन
new Ext.SplitButton({
text: 'Index',
iconCls: 'index',
scale: 'large',
iconAlign: 'left',
cls: 'header-item',
handler: leftPanelNav, // handle a click on the button itself
menu: new Ext.menu.Menu({
items: [
// these items will render as dropdown
// menu items when the arrow is clicked:
{text: 'Item 1'},
{text: 'Item 2'}
]
})
})
उनके राज्य एक समय में दबाया जाएगा और मुझे पता है कि मैं इसे कैसे unpress जब मैं स्क्रिप्ट से करना चाहते हैं कर सकते हैं।
धन्यवाद।
एक दबाए गए विभाजन बटन कैसा दिखता है? – Lukman
यह उसकी प्रारंभिक स्थिति की तरह दिखता है। –