1. #1
    Ext User
    Join Date
    Dec 2008
    Posts
    34
    Vote Rating
    0
    Noggy is on a distinguished road

      0  

    Default Setting a grid cell background on click

    Setting a grid cell background on click


    If you need to set a grid cell background when for example
    the user clicks on a certain cell you can use :

    Code:
    public void handleEvent(GridEvent be) {
         El test = be.getTargetEl();
         test.applyStyles("background-color: black;");
          grid.getView().getCell(be.rowIndex, be.colIndex).setInnerHTML(test.getOuterHtml());
    }
    It took me hours to put this thing working, so i hope that by posting this code, i can help someone out there.

    Noggy

  2. #2
    Ext User
    Join Date
    Dec 2008
    Posts
    34
    Vote Rating
    0
    Noggy is on a distinguished road

      0  

    Default


    Answering my own thread...i switched to GWT FlexTables, which are much more
    flexible when it comes to apply and remove CSS styles.

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