1. #1
    Sencha User
    Join Date
    Aug 2007
    Posts
    3
    Vote Rating
    0
    anti is on a distinguished road

      0  

    Default Problem with two different Grid-Appearances at same 'page'

    Problem with two different Grid-Appearances at same 'page'


    Hi,

    i defined 2 different grid appearances for two grids, that are displayed at the same time. But the last always overwrites the first created. Can someone see the mistake?

    It works fine with ButtonCellAppearance and others, but the Grid seems to be different?

    Code:
    public class MyFirstGridAppearance
      extends GridBaseAppearance
    {
      public interface MyFirstGridStyle
        extends GridStyle
      {
      }
    
      public interface MyFirstGridResources
        extends GridResources
      {
        @Source({"com/sencha/gxt/theme/base/client/grid/Grid.css", "MyFirstGrid.css"})
        @Override
        MyFirstGridStyle css();
      }
    
      public MyFirstGridAppearance()
      {
        this(GWT.<MyFirstGridResources>create(MyFirstGridResources.class));
      }
    
      public MyFirstGridAppearance(MyFirstGridResources resources)
      {
        super(resources);
      }
    }
    
    public class MySecondGridAppearance
      extends GridBaseAppearance
    {
      public interface MySecondGridStyle
        extends GridStyle
      {
      }
    
      public interface MySecondGridResources
        extends GridResources
      {
        @Source({"com/sencha/gxt/theme/base/client/grid/Grid.css", "MySecondGrid.css"})
        @Override
        MySecondGridStyle css();
      }
    
      public MySecondGridAppearance()
      {
        this(GWT.<MySecondGridResources>create(MySecondGridResources.class));
      }
    
      public MySecondGridAppearance(MySecondGridResources resources)
      {
        super(resources);
      }
    }
    thx!

  2. #2
    Sencha User
    Join Date
    Aug 2007
    Posts
    3
    Vote Rating
    0
    anti is on a distinguished road

      0  

    Default


    Hi,

    ok, i found a solution for my Problem, the GridAppearance in the constructor of TreeGrid seems not to be used by the TreeGrid/TreeGridView, instead the default one is taken! (new TreeGridView always calls default constructor of GridView)

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi