Results 1 to 4 of 4

Thread: How to modify iconcls in extjs grid groupview groupAction

  1. #1
    Sencha User
    Join Date
    Feb 2008
    Posts
    108
    Vote Rating
    0
      0  

    Default How to modify iconcls in extjs grid groupview groupAction

    Hi,

    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......

    Thanks,

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    Capture the click on the icon element and replace the class on that element.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Feb 2008
    Posts
    108
    Vote Rating
    0
      0  

    Default

    Hi mitchell,


    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.....


    Thanks,

  4. #4
    Sencha User sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,335
    Vote Rating
    91
      0  

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •