3 Jan 2013 3:09 AM #1
How to modify iconcls in extjs grid groupview groupAction
I am using extjs 3.1.x version ,am using Ext.ux.grid.RowActions plugin in my grid,in that have requirement already have groupaction icon,on click of this icon should change to another icon,
basically need to change the iconcls......
5 Jan 2013 7:54 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Capture the click on the icon element and replace the class on that element.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
13 Jan 2013 10:12 AM #3
If i remove the group icon class.it will remove icons from all the groups,i wanted to add/remove
icons for particular group,because i have gone through the row actions group div header i don't
see any unique identifier to identify the particular group,also i don't see any support for dynamically
add/remove group icons.....
19 Jan 2013 1:44 AM #4
i guess, you haven't read answer from Mitchell carefully
Capture the click on the icon element and replace the class on that element.
you need to remove the class for the element which is clicked, not for all .
just capture the click and replace the class (As Mitchell already said)sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.