Dynamically Updating Menu Item selection foreground

I am trying to update MenuItem.selectionForeground color depending on whether the menu item is selected or not. However the menu item fails to update.
import javax.swing.*;
import javax.swing.border.Border;
import javax.swing.border.EmptyBorder;
import java.awt.*;
import java.awt.event.*;
public class ToggleMenuItem extends JMenuItem implements ItemListener, MouseListener
     private Color selectColor;
     private Color unSelectcolor;
     private Insets m_ins = new Insets(4,4,4,4);
     private ImageIcon imgSelected;
     private ImageIcon imgUnselected;
     protected Border m_inactive = new EmptyBorder(3, 3, 3, 3);     
     public ToggleMenuItem(Action act, boolean b,String display , ImageIcon imgUnselected,
     ImageIcon imgSelected, Color unSelectcolor, Color selectColor)
          super(display);
          this.selectColor = selectColor;
          this.unSelectcolor = unSelectcolor;
          this.imgSelected = imgSelected;
          this.imgUnselected = imgUnselected;
          setMargin(m_ins);
          setRequestFocusEnabled(false);
          addActionListener(act);
          addItemListener(this);
          setModel(new JToggleButton.ToggleButtonModel());
          setFocusable(false);
          setIcon(imgUnselected);
          setForeground(unSelectcolor);
          setBorder(m_inactive);          
          addMouseListener(this);
     public void setEnabled()
          if ( isSelected() )
               setForeground(selectColor);
               setIcon(imgSelected);               
          else
               setForeground(unSelectcolor);
               setIcon(imgUnselected);                              
     public void itemStateChanged(ItemEvent e)
          setEnabled();
     public void mouseEntered(MouseEvent e)
          if(!isSelected())
               UIManager.put("MenuItem.selectionForeground", Color.white);
//updateUI();
          else
               UIManager.put("MenuItem.selectionForeground", Color.black);
//updateUI();
     public void mouseClicked(MouseEvent e) {}     
     public void mouseExited(MouseEvent e) {}     
     public void mousePressed(MouseEvent e) {}
     public void mouseReleased(MouseEvent e) {}
Pay special attention to the mouseEntered function

Have u tried
SwingUtilities.updateComponentTreeUI( component );

Similar Messages

  • How do I change stills with each menu item selected?

    Hi all.
    I am trying to create a menu (with 10 items) which contains one single dropzone box, which will contain a still that changes with each menu item selected (instead of 10 different stills next to each item).
    I have absolutely no idea how to achieve this! Do I create a different menu for each item? Is there a way to have a slideshow within the menu that changes with each item selected?
    Please help!
    Many thanks
    James

    THe way to do what you want to do is layered menus which have some limits
    http://dvdstepbystep.com/layersover.php
    What you would do is change the item that appears in the same section - in other words there would be ten layers with a diffrerent picture in the same exact spot, the rectangle buttons sections do not need to be over the picture section
    http://dvdstepbystep.com/Layers_Example.dmg is a project that does changing images.

  • Firefox 4 hangs a little on every action - typing, moving the window, selecting a menu item, selecting a tab, ...

    Since installing Firefox 4 RC2, and now Firefox 4, Firefox constantly hangs on every action. Just in typing this message, the program pauses for a second or two every few words. Opening a tab, selecting a menu item or even moving the Firefox window incurs a brief pause of a second or two. This makes the users experience terribly slow. I've tried turning off sync and starting Firefox with extensions disabled. Nothing seems to help. I upgraded from RC2 but then deleted and reinstalled Firefox.
    I'm having this problem on my MacBook Pro, which is pretty new (less than a year old) and otherwise very fast (i.e., i7 processor and 8Gb RAM). I have the newest version of OS X (10.6.7) and have updated all extensions.
    I've watched my system monitor and Firefox is constantly and repeatedly going from low to near 100% CPU use every few seconds. I have no special, unusual settings (I've gone through preferences).
    This is getting so bad that I'm about ready to abandon FireFox. Any suggestions would be helpful.

    I had the same problem, I kept searching and found this:
    [http://forums.mozillazine.org/viewtopic.php?f=38&t=580592&start=0 http://forums.mozillazine.org/viewtopic.php?f=38&t=580592&start=0]
    Which says to delete your sessionstore.js from your profile. It seems to have worked so far on my macbook pro.
    If you're concerned about losing the file rename it first, here's a description about what the file does:
    [http://kb.mozillazine.org/Session_Restore http://kb.mozillazine.org/Session_Restore]
    Do all this with Firefox CLOSED.
    Hopefully this helps others!

  • Acrobat Forms - Make fillable text box appear after box checked or drop down menu item selected

    I have been asked to build an approvals form for my workplace however the approval processes vary considerably depending on the subject. I have been asked to create a list of topics in the form of check boxes or a drop down menu which will then populate a list of text boxes with differing approval authorities and corresponding spaces for signatures.  i.e. if 'Topic 1' is selected a list of names and signature spaces will appear, however if 'Topic 2' is selected a different list of names and signature spaces will appear instead.
    In order to achieve this I think I only need to find out how to link check boxes or drop down menu items to the appearance of different text boxes.
    I should also add that I am a beginner with this stuff.
    Thank you very much for any help you can provide.

    Remove the red coloured part
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible {
    left: auto;
    top:0;
    or start again with the original SpryMenuBarHorizontal.css and follow the rules as in http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php#one.
    Either way will get you back on track.
    Good luck.
    Ben

  • What's the difference between these update menu items?

    Hi,
    I have these two update items showing in my menu bar:
    The one with the Adobe logo just opens the Creative Cloud menu when "Open Updater..." is clicked. I'm wondering why both show up and if the Adobe logo item is supposed to be updating something non-CC.
    I did a fresh install of CC, so there shouldn't be any legacy updaters, preferences or library items on my system.
    Thanks!

    Hi joerivera ,
    Please refer the kb: http://helpx.adobe.com/creative-cloud/kb/redundant-update-notifications.html .
    Regards,
    Romit Sinha

  • MENU item selection does not display drop down in ITS enabled transaction

    Hello,
    We are experiencing a strange behavior between two portal env.
    1. DEV.
    For example we have transaction MM01 display in the Portal via ITS (integrated). The end user can select the Menu Tab and the System Tab and the drop downs appear as expected.
    2. Prod
    Same  scenario as above. Only this time, end user is unable to select the button. The Menu and System Tab dont appear greyed out but selecting it does not display the drop down.
    Material, Edit GoTo Defaults are some of the links under the Menu tab for MM01.
    Very confusing. And this is the behavior in Prod for all transactions. Any ideas on why this is happening would be greatly appreciated.
    The architectural difference is that DEV has no Web Dispatcher versus Prod has the Web Dispatcher.
    We are on EP 7.0
    Many thanks.
    Regards,
    Sunil

    Thanks. Now, I realise this may cause dismay to some, but I have now solved the problem, and just wanted to share my experience with those even less savvy than myself. In Dreamweaver, the Spry css styles are arranged with little or no hint as to which style controls what. I found that there is a rule in the sub-menu styles that controls the little graphic arrows which indicate that there are dropdown subs under the tabs. I had removed these arrows to make way for my background images. However, the rules that control their positioning by percentage were still there, causing my images to display incorrectly. Of course, there was no way anyone could have spotted this and helped me as the fault was in the external spry css file, not the page code. So many thanks to vw2ureg for looking anyway. Regarding the page code, which you have flagged up, would you mind elaborating on what you see wrong here? I'm none the wiser. Many thanks again.

  • Dynamic List/Menu After Update

    Hi All,
    Dreamweaver - ASP
    I have a form to add records. The first field is a dynamic list/menu to select the date.
    After the Add record button is pressed the page reopens but the date menu has reverted to "Select date"
    Is there a way to retain the previously chosen date when the page refreshes?
    Many thanks
    John

    Hi All,
    Solved the problem.
    I set  up a session variable for the date and then used the 'Dynamic' button for the List/Manu, Select Value equal to,  and selected the session variable.
    Regards
    John

  • Can I programmatically trigger a menu item tag selected event?

    I am trying to trigger a menu item selected event using built-in vi's. I want my Handle Menu vi to handle the case where the user checks on a boolean control as well as slected the menu option. I don't want to use POSTMESSAGE with acceleration key combination. Are there any built-in vi's which can "post" such a message?

    I have a similar situation and understand why adding a message to the menu queue would be an elegant solution to the problem.
    I have lots of menu bar selections in my program, and I would like to set up a button bar like most applications now have. To do this using the "in parallel" way becomes a ratsnets of wires and would take up a lot of window space.
    I have attached a file that is a good example of how to solve this problem with Event Structures in LabVIEW 6.1. It doesn't take up much additional diagram space and it can be quickly and easily reconfigured.
    It would be nice if future versions of LabVIEW had a more integrated button bar.
    Matt
    Attachments:
    Menu_and_button_bars.vi ‏68 KB

  • Create Menu items from table data?

    Wondering if anyone knows of a way(if even possible) to create menu items on logon from table data where the menu data is stored?

    You'd have to make the menu code generic as well - probably the bet bet would be to have each menu item calling a common procedure but passing in the menu item selected - you'll then have to cross reference that with the current function of that menu item and do the right thing.

  • Applescript open message menu items greyed out

    I've struck a real dilemma. When opening a Mail message with any sort of scripting, many of the menu items remain greyed out, including the one  that's important to me, 'Save Attachments...'.
    If I manually open the same message, the menu items are enabled.
    Try this script, by resetting the mailbox name to one of your own mailboxes, and you'll see what I mean.
    Anybody got any clues as how to fix this, please? (I've lodged a bug report).
    Regards
    set SaveAttachmentsMenu to true
    tell application "Mail"
      activate
      set WindowCount to count of windows
      open item 1 of messages of drafts mailbox
      set x to 0
      repeat # wait until the message is really open.
      tell current application to delay 0.1
      set x to x + 1
      if x > 40 then exit repeat
      if (count of windows) > WindowCount then exit repeat
      end repeat
      tell application "System Events" to tell process "Mail"
      select window 1
      tell current application to delay 0.2
      if exists menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1 then
      keystroke "a" using command down
      if not enabled of menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1 then say "attachments disabled"
      click menu item "Select All" of menu 1 of menu bar item "Edit" of menu bar 1
      set x to 0
      try
      click menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1
      end try
      repeat until exists sheet 1 of window 1
      tell current application to delay 0.1
      set x to x + 1
      if x = 40 then
      set SaveAttachmentsMenu to false
      exit repeat
      end if
      end repeat
      end if
      end tell
    end tell
    SaveAttachmentsMenu

    'Mail' has been brutally cut off at the knees. No actual trying to send a click to any of its elements works any more.
    BAD Apple!
    I've tried the following without success. If only I could send a click to the first element, the required menu item would activate. 
    set SaveAttachmentsMenu to true
    tell application "Mail"
      activate
      set WindowCount to count of windows
      open item 1 of messages of mailbox "* items to store" # drafts mailbox
      set x to 0
      repeat # wait until the message is really open.
      tell current application to delay 0.1
      set x to x + 1
      if x > 40 then exit repeat
      if (count of windows) > WindowCount then exit repeat
      end repeat
      tell application "System Events" to tell process "Mail"
      tell current application to delay 1
      try
      select scroll area 1 of window 1
      click
      end try
      try
      tell scroll area 1 of window 1
      set {xPosition, yPosition} to position
      set {xSize, ySize} to size
      end tell
      -- modify offsets if hot spot is not centered:
      click at {xPosition + (xSize div 2), yPosition + (ySize div 2)}
      display dialog xPosition & tab & yPosition as text
      on error errmsg
      display dialog errmsg
      end try
      tell current application to delay 0.2
      if exists menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1 then
      keystroke "a" using command down
      if not enabled of menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1 then say "attachments disabled"
      click menu item "Select All" of menu 1 of menu bar item "Edit" of menu bar 1
      set x to 0
      try
      click menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1
      end try
      repeat until exists sheet 1 of window 1
      tell current application to delay 0.1
      set x to x + 1
      if x = 40 then
      set SaveAttachmentsMenu to false
      exit repeat
      end if
      end repeat
      end if
      end tell
    end tell
    SaveAttachmentsMenu

  • I want to get rid of the Bing screen but there is no "menu at the top of the Firefox window" for me to "select Tools and then select the Add-ons menu item. "

    I suddenly have a "Bing" screen when I sign onto Firefox---and I want to get rid of it. The support section of Firefox says
    1. "From the menu at the top of the Firefox window, seledt Tools and then select the Add-ons menu item."---but I see no "menu item" nor Tools, much less Add-ons.
    2. "In the Add-ons window, click on the Extensions panel."---but how do I find the Add-ons window?
    3. Find the Bing Bar and Search Helper Extension in the list and click Disable for each of them."---but what and where exactly is that?
    At the top of the screen is only a Yahoo icon on the left and to the right of it a search box, "Web Search,", "My Apps," Yellow Pages," "Weather," "Updates," and "Skype." to the right of those there is a green cross saying "Add more apps. to your toolbar" and to the right of that a sort of gear shift looking icon saying "toobar settings."
    So, in short, how do I get rid of the Bing screen and how do I access those Tools?
    Thanks.

    To get rid of Bing Search Window..............
    Click on View tab / Tools and un-check 'Search' (alias for 'Bing')

  • [WP8.1][Xaml]Update ListView items when other items are selected

    hi,
    i am developing an app for windows phone and using listview to list items. i am using custom template for the listview item. this custom template contains labels, image and button.
    i trying to update the other listview items while one item is selected or multiple item selected. to change listview item i am iterating over the listview and try to get custom template using visual tree helper class. using helper class i am able to retrieve
    control from custom template. once i changing the image in listview if i scroll the listview vertically image changed to its default state.
    is it possible to change the custom template values using visual tree helper class or do i need to do some other changes in my code.
    please suggest.
    <ListView x:Name="lst" Grid.Row="2" SelectionMode="Single" SelectedItem="{Binding ListBoxSelectedItem}"
    ItemsSource="{Binding TssVariableInfo}" Padding="0" Margin="0"
    HorizontalAlignment="Stretch" Grid.Column="0" Grid.ColumnSpan="2" ReorderMode="Disabled" AllowDrop="False"
    VerticalAlignment="Stretch" Holding="lst_Holding" >
    <ListView.ItemTemplate>
    <DataTemplate>
    <local:VariableTemplateSelectorClass Content="{Binding}" FontFamily="Segoe UI" >
    <local:VariableTemplateSelectorClass.IsLiteAndNonDuplicate >
    <DataTemplate>
    <Border BorderThickness="0,1,0,1" BorderBrush="DarkGray" x:Name="bordername">
    <Grid Margin="0,0,0,0" Tapped="Grid_Tap" x:Name="GridVarDetail" Background="#E8E8E8" Holding="Grid_Hold" HorizontalAlignment="Stretch" Width="{Binding ElementName=lst, Path=ActualWidth}">
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto"/>
    <RowDefinition Height="Auto"/>
    <RowDefinition Height="16"/>
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="6*" />
    <ColumnDefinition Width="4*" />
    </Grid.ColumnDefinitions>
    <Image x:Name="imgLegend" Source="/Assets/Images/Legends/00-Blank.png" Width="13" Height="13" Grid.Row="0" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center"></Image>
    <TextBlock Foreground="Green" Margin="14,0,0,0" Grid.Row="0" FlowDirection="LeftToRight" x:Name="lblCustomerGivenName" Grid.Column="0" TextWrapping="NoWrap" TextTrimming="WordEllipsis"
    Text="{Binding VariableCustomerGivenName }" FontWeight="Normal" HorizontalAlignment="Left" FontFamily="Calibri" VerticalAlignment="Bottom" FontSize="16" />
    <TextBlock Foreground="Green" Margin="14,0,0,0" Grid.Row="1" VerticalAlignment="Top" Width="Auto" x:Name="lblStandardName" Grid.Column="0" TextWrapping="NoWrap" TextTrimming="WordEllipsis"
    Text="{Binding VariableStandarName}" FontWeight="Normal" HorizontalAlignment="Left" FontFamily="Calibri" FontSize="16" />
    <TextBlock Foreground="Gray" Margin="14,0,0,0" Grid.Row="2" VerticalAlignment="Top" Width="Auto" x:Name="lblSection" Grid.Column="0" TextWrapping="NoWrap" TextTrimming="WordEllipsis"
    Text="{Binding SectionName }" FontWeight="Normal" HorizontalAlignment="Left" FontFamily="Calibri" FontSize="16" />
    <TextBlock Margin="321,0,40,0" Foreground="Red" Grid.Row="0" VerticalAlignment="Bottom" Width="Auto" x:Name="lblValue" Grid.Column="1" TextWrapping="NoWrap"
    Text="{Binding Value}" FontWeight="Normal" HorizontalAlignment="Right" FlowDirection="RightToLeft" FontFamily="Calibri" FontSize="16" />
    <TextBlock Foreground="Gray" Margin="321,0,40,0" Grid.Row="1" VerticalAlignment="Top" Width="Auto" x:Name="lblLastDate" Grid.Column="1" TextWrapping="NoWrap"
    Text="{Binding LastDate}" FontWeight="Normal" HorizontalAlignment="Right" FlowDirection="RightToLeft" FontFamily="Calibri" FontSize="16" />
    <Image Source="/Assets/Images/LeftArrow.png" Height="50" Width="40" Grid.Row="0" Grid.Column="1" Grid.RowSpan="3" HorizontalAlignment="Right" Visibility="Collapsed" x:Name="imgLeftArrow" Tapped="btnMore_Tap" />
    <Image Source="/Assets/Images/2Y-OFF.png" Height="50" Width="40" Grid.Row="0" Grid.Column="1" Grid.RowSpan="3" HorizontalAlignment="Right" Visibility="Collapsed" x:Name="btn2Y" Tapped="btn2Y_Tap"/>
    <Image Source="/Assets/Images/CP-Off.png" Height="50" Width="40" Grid.Row="0" Grid.Column="1" Grid.RowSpan="3" HorizontalAlignment="Right" Visibility="Collapsed" x:Name="btnTL" Tapped="btnTL_Tap" />
    </Grid>
    </Border>
    </DataTemplate>
    </local:VariableTemplateSelectorClass.IsLiteAndNonDuplicate>
    </local:VariableTemplateSelectorClass>
    </DataTemplate>
    </ListView.ItemTemplate>
    </ListView>
    private void Grid_Hold(object sender, HoldingRoutedEventArgs e)
    if (e.HoldingState != Windows.UI.Input.HoldingState.Started)
    return;
    Image imgPlotImage;
    Grid GridVar = (Grid)sender;
    imgPlotImage = (Image)GridVar.FindName("imgLegend");
    General.VariableArrayYAxis.Add(dataObject.VariableID);
    General.DictSelectedVariableType.Add(dataObject.VariableID.ToString(), dataObject.IsTSSLite.ToString());
    GridVar.Background = new SolidColorBrush(Color.FromArgb(100, 255, 255, 255));
    Image imgLeftArrow = (Image)GridVar.FindName("imgLeftArrow");
    imgLeftArrow.Visibility = Windows.UI.Xaml.Visibility.Visible;

    That link is my signature not that i have provided it for reference. 
    You already have implemented binding in your code, just like you have bindings for TextBlock's 'Text' property, likewise you can defined a property for the 'Visibility' of image in the code behind
    e.g.
    private Visibility imgvisible
    public Visibility_ImgVisibility
    get { return imgvisible; }
    set
    if (imgvisible!= value)
    NotifyPropertyChanging("_ImgVisibility");
    imgvisible= value;
    NotifyPropertyChanged("_ImgVisibility");
    Then in xaml file, bind this property with the Visibility property of Image and access it as per your requirement (e.g. on tap of an item)
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • How Do You Control the Order That Menu Items Are Selected

    I am using iDVD 6 with the Portfolio Theme (iDVD 5). I created a project with one 15-minutes iMovie project and seven slideshows (created in iDVD).
    In Preview mode (or with the final) DVD, the order that entries on the main menu are selected does not seem to follow a logical pattern. As I try to advance using the right cursor, the second item (horizontally) is skipped. (I have two rows, each with four items). When I have one of the other three items in that row selected, the second item is selected if I hit the down arrow.
    In 'flowchart view' the eight items are in the order I want them to be selected. That is, the item that is being skipped is in the second position on the flowchart.
    Any insight on this would be appreciated.
    PowerBook G4 1.33 Ghz (me) & FP iMac - 1.0 Ghz (kids)   Mac OS X (10.4.4)   iMac (for the kids)

    I created an iMovie and then exported to iDVD, iDVD used the same sequence as the iMovie. When you build you Movie or slide show it follows the sequence that you place them in the time line. I have a Slide Show movie with video clips in the time line all of the shows and clips play in the order that I placed them. When you move through the menu use the right arrow to move accross the menu and the down arrow to move down to the next row. There is an button to move to the next menu. I have 13 chapters in my iDVD and they appear on 3 menus. Each menu shows 6 buttons you can edit the button titles and reposition them if you deselect the snap to grid and select the other option. When I open my project after exporting the titles overlayed each other. The buttons picted up my iMovie titles so I had to fix them and reduce the type size and move the buttons to separate them. The time line sets the order and the arrow keys move throgh the buttons on you Mac screen you can select with the mouse by clicking the button. On a DVD player you are stuck with the arrows and enter keys on the remote. You may have a glitch in your data check the time line along bottom of your original to see if the chapter markers are in position.
    Richard
    1.25 GHz Dual G4 Desk Top Mac OS X (10.4.6)

  • Strange ATV2 behaviour - Movies can't be selected for downloaded & most menu items not selectable??

    ATV2 fully online, previews movies, downloads YouTube, Homesharing all good (and a seasoned ATV owner and user)
    However download movies is not working, and no error message just a "beep" sound when you select "rent movie".
    Also many of the menu items cannot be selected.  You cannot down select most of the items under General, so it's impossible to change settings, or to do any troubleshooting.  You get the same "beep" sound when you select Name, Network, iTunes Store, Reset, etc.
    I have done the usual power down, plus reset using remote, but the system doesn't seem to go back to factory default.  I haven't tried the mini-USB connection to MAC as I don't have a cable but hoping someone can help?

    <Button guid="guidCBExtensionPkgCmdSet" id="cmdIdCBAutoSave" priority="0x0100" type="Button">
    <Parent guid="guidCBExtensionPkgCmdSet" id="CBAutoSaveGroup" />
    <Icon guid="guidImages" id="bmpDisk" />
    <CommandFlag>TextChanges</CommandFlag>
    <!--<CommandFlag>DefaultDisabled</CommandFlag>-->
    <Strings>
    <ButtonText>Enable Document AutoSave</ButtonText>
    </Strings>
    </Button>
    private void OnBeforeQueryStatus(object sender, EventArgs e)
    DbgMessage("OnBeforeQueryStatus");
    var myCommand = sender as OleMenuCommand;
    if (null != myCommand)
    switch (myCommand.CommandID.ID)
    case (int)PkgCmdIdList.CmdIdCBAutoSave:
    myCommand.Enabled = true;
    myCommand.Text = _autosaveEnabled ? "Disable Document AutoSave" : "Enable Document AutoSave";
    break;
    case (int)PkgCmdIdList.CmdIdCBAutoSaveProject:
    myCommand.Text = _autosaveProjectEnabled ? "Disable AutoSaveProject" : "Enable AutoSaveProject";
    myCommand.Enabled = _autosaveEnabled;
    break;
    default:
    break;
    DbgMessage(string.Format("Id: {0} Text: {1}", myCommand.CommandID.ID, myCommand.Text));
    Very puzzling that I have only seen the bad behavior on Win8.1, and not when debugging the extension.  (Haven't been able to try the extension on Win8, but have tried it on several Win7 computers, and one WinServer 2012 R2 computer.)
    Is there someplace to look for runtime exceptions?  I haven't seen any in the Output window when the bad behavior occurs....
    (If you want to try the extension, you can add a gallery and point it to www.cbates.net/VSIX/atom.xml.)

  • Dynamically update grouping of store items - Sencha Touch

    how can I dynamically update grouping of store items? Please help

    Please follow the steps:
    set gouper again,
    store.setGrouper({
        groupFn : function(record) {
            return record.get('fieldname');
    Gracie

Maybe you are looking for