Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User
    Join Date
    Nov 2009
    Posts
    2
    Vote Rating
    1
    Hansson is on a distinguished road

      0  

    Question Setting row color in grid (gwt)

    Setting row color in grid (gwt)


    In this thread i read how to set the background color of the grid. http://www.extjs.com/forum/showthread.php?t=52598

    Unfortunately this does not work for the foreground color. It seems that the color style can not be inherited from the <div> to the <table>. I have tried to use and override the GridViewConfig.getRowStyle(...). But the class is only added in the div, and not in the contained table.

    How do I solve this in GWT?

  2. #2
    Ext User
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    961
    Vote Rating
    0
    Arno.Nyhm is on a distinguished road

      0  

    Default


    maybe you need to add additional div elements to the css path get the inner cell
    This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.

    GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041

  3. #3
    Ext User
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    961
    Vote Rating
    0
    Arno.Nyhm is on a distinguished road

      0  

    Default


    pls look this threads for more hints:

    http://www.extjs.com/forum/showthrea...id3-cell-inner
    This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.

    GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041

  4. #4
    Ext User
    Join Date
    Nov 2009
    Posts
    2
    Vote Rating
    1
    Hansson is on a distinguished road

      1  

    Thumbs up Thank you - Arno.Nyhm !!!

    Thank you - Arno.Nyhm !!!


    I am noob to css stying, but when i got the meaning of this syntax .classA .classB syntax, i could make my code work as intended

    here is my code:

    snip from java code:


    GridView gv = new GridView();
    gv.setViewConfig(new GridViewConfig() {
    @Override
    public String getRowStyle(ModelData model, int rowIndex, ListStore<ModelData> ds) {
    if (mybooleanExpression) // this expression is different in my code
    return "";
    else
    return "grayfields";
    }
    });



    snip from css file:


    .grayfields {
    }

    .grayfields .x-grid3-cell-inner {
    color: Gray;
    }

  5. #5
    Ext User
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    961
    Vote Rating
    0
    Arno.Nyhm is on a distinguished road

      0  

    Default


    great! you are welcome :-)

    PS: thanks for sharing your solution :-)
    This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.

    GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041

Thread Participants: 1