1. #1
    Ext User
    Join Date
    Oct 2009
    Posts
    12
    Vote Rating
    0
    pannel is on a distinguished road

      0  

    Question GroupingView/groupField header text inherits the text colour in the group by column

    GroupingView/groupField header text inherits the text colour in the group by column


    I have an issue where a part of the groupField/GroupingView header text is inheriting the colour set in the groupField column. I do not want this to happen.

    Looking at the attached example image, the Critical text in the "Severity: Critical" string should stay blue, not be red.

    I am setting the text colour in the column used for grouping by using the following function as a renderer:

    Code:
        function colourSeverity(severity){
            if(severity == "Critical"){
                return '<span style="color:#aa0000;">' + severity + '</span>';
            }else if(severity == "Major"){
                return '<span style="color:#ee2200;">' + severity + '</span>';
            }else if(severity == "Minor"){
                return '<span style="color:#ee5500;">' + severity + '</span>';
            }else if(severity == "Warning"){
                return '<span style="color:#eeaa00;">' + severity + '</span>';
            }
            return severity;
        }
    and am applying the renderer as such:

    Code:
        {
            header: 'Severity',
            width: 70,
            sortable: true,
            dataIndex: 'severity',
            renderer: colourSeverity 
        },
    Any thoughts on how to keep the header blue?

    Thanks very much.

    Cheers,

    Mark
    Attached Images

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