Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-1568 in a recent build.
  1. #1
    Ext GWT Premium Member
    Join Date
    Dec 2011
    Location
    Earth
    Posts
    243
    Vote Rating
    1
    nbuesing is on a distinguished road

      0  

    Default If you call grid.getView().findColumnConfig("column").setHeader("new') you get dups

    If you call grid.getView().findColumnConfig("column").setHeader("new') you get dups


    If you change the header text and then refresh the grid's view (to also refresh header) you get duplicate headers.

    This is tested against Beta4.

    This mimics the code I am needing to write, which causes the error.
    Code:
    grid.getColumnModel().findColumnConfig("name").setHeader("Name " + event.getValue());
    grid.getView().refresh(true);
    Even if I just refresh the grid+headers (w/out changing anything in the header) it gets duplicated
    Code:
    grid.getView().refresh(true);
    Example Code has been attached.



    GridColumnSetHeader.jpg

    Code:
    spinner.addValueChangeHandler(new ValueChangeHandler<Integer>() {
    			@Override
    			public void onValueChange(ValueChangeEvent<Integer> event) {
    				System.out.println("Spinner Value " + spinner.getCurrentValue());
    				createDummyData(event.getValue().intValue());
    				//datastore.fireEvent(new StoreUpdateEvent<Item>(datastore.getAll()));
    				grid.getColumnModel().findColumnConfig("name").setHeader("Name " + event.getValue());
    				grid.getView().refresh(true);
    			}


    GridChangeHeader.zip

  2. #2
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    Thanks for the report. Needless to say, this is not the intended behaviour. I've filed a bug against the team, and I'll update this thread with any progress.

  3. #3
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,241
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Fixed in SVN.

  4. #4
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    This bug has been fixed in the Ext GWT 3.0 Release Candidate. Please upgrade your copy of Ext GWT and try your test case again. While we're confident that we've addressed this issue, please reply if you notice any continued problems after upgrading. Again, thanks for taking the time to report this bug.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar