Skip to Content
avatar image
Former Member

WDTableCellDesign.TWO font size increase

Hi experts!

I have a requirement to change table cell design to yellow color. WDTableCellDesign.TWO has yellow color, but the font size is been changed for the particular column.

Please help me to get through the issue

Nikhil

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Mar 05, 2009 at 11:56 AM

    Hi Nikhil,

    when u change the Cell design for the table coulmn , the font size will not increase .please check the properties of the Table cell editor (like design property of ur TextView UI element)

    Hope it helps

    Thanks and Regards

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      WDTableCellDesign.TWO will not give you yellow color.The font is changing for this.

      Yo can select different property value like,

      WDTableCellDesign.GOODVALUE_DARK:Green

      WDTableCellDesign.KEY_MEDIUM:Blue

      WDTableCellDesign.BADVALUE_DARK:Red

      WDTableCellDesign.GOODVALUE_MEDIUM

      Try above ones.I am not sure which one is for yellow.

      Regards,

      Lavanya.G

  • Mar 05, 2009 at 12:04 PM

    Hi

    Check [this|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3548] [original link is broken] [original link is broken] [original link is broken];

    Best Regards

    Satish Kumar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 06, 2009 at 07:04 AM

    Hi Dear,,,

    you want to change color of perticula row..are you looking for any color...

    firstly you have craete 2 attribute in Any context as sematiccolorattribute and celldisignattribute..

    as set simple type javedictinary it will get this JavaDictinary API

    sematiccolorattribute -- type com.sap.ide.webdynpro.uielementdefinitions.TextViewSemanticColor

    celldisignattribute----type com.sap.ide.webdynpro.uielementdefinitions.TableCellDesign

    these attribute you have to binding to your Table ..

    go to outline of perticula view and chhose table ---then expand -select cullom >go to property set celldisignattribute attribute in celldisign property of collumn expand cullumn goto text view >go to property-->then select text view and right click you will see propery of text view -have to set sematiccolorattribute attribute in sematic color propery of text view...

    if you have 3 cullum .then you have set individually accordingly....

    suppose you want to first row wiil be color then....

    for(int i=0;i<size of output node;i++)

    {

    if(i=0)

    wdContext.nodeContectNAme().getAttributeContextnameElemnetAt(i).setCelldisignattribute(WDTableCellDesign.GROUP_LEVEL2);

    wdContext.nodeContectNAme().getAttributeContextnameElemnetAt(i).SetSematiccolorattribute(WDTextViewSemanticColor.DIMINISHED);

    now i have diminished color mean make it GRay...

    }

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 07, 2009 at 07:10 AM

    Changed the Color in Portal Themes!

    Add comment
    10|10000 characters needed characters exceeded