Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-2772 in 3.1 beta.
  1. #1
    Sencha User
    Join Date
    Oct 2010
    Posts
    128
    Vote Rating
    2
    audra is on a distinguished road

      1  

    Default No header appearance GridView constructor

    No header appearance GridView constructor


    GXT 3.0.2b

    The only way I have been able to assign a header appearance to a GridView is by overriding the initColumnHeader() in GridView. Please introduce a constructor, copy and pasting this much code for every different GridView header I have is painful, redundant, and hard to maintain.

    @Override
    protected void initColumnHeader() {
    header = new ColumnHeader<M>(grid, cm, new myColumnHeaderAppearance()) {


    @Override
    protected Menu getContextMenu(int column) {
    return createContextMenu(column);
    }


    @Override
    protected void onColumnSplitterMoved(int colIndex, int width) {
    super.onColumnSplitterMoved(colIndex, width);
    TaskManagerGridView.this.onColumnSplitterMoved(colIndex, width);
    }


    @Override
    protected void onHeaderClick(Event ce, int column) {
    super.onHeaderClick(ce, column);
    TaskManagerGridView.this.onHeaderClick(column);
    }


    @Override
    protected void onKeyDown(Event ce, int index) {
    ce.stopPropagation();
    // auto select on key down
    if (grid.getSelectionModel() instanceof CellSelectionModel<?>) {
    CellSelectionModel<?> csm = (CellSelectionModel<?>) grid.getSelectionModel();
    csm.selectCell(0, index);
    } else {
    grid.getSelectionModel().select(0, false);
    }
    }


    };

    header.setSplitterWidth(splitterWidth);
    header.setMinColumnWidth(grid.getMinColumnWidth());
    }

    Thanks,
    Audra

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    This came to be a giant set of changes, but as part of a greater Grid appearance refactor it is complete - these changes are in SVN and will be in the nightly builds, and will be part of the 3.1 release.

Thread Participants: 1

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