Skip to Content
avatar image
Former Member

Table Elements Fonts, Background etc


I want to change the Font/Colour of the Text and background of Table elements dynamically. Is there some material for the same available in SDN, or could someone point me in the right direction?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 28, 2004 at 04:43 PM

    1. You can change background of complete table / column via <i>design</i> property

    2. You can change certain properties of table cell editors (like <i>design</i> or <i>semanticColor</i> in TextView or <i>type</i> of LinkToAction

    3. For certain version of NW some of these properties may be not reflected on UI due to CSS styles in use. For example, earlier preview of NW does not display correctly customized properties of cell editors, however, the most recent NW fails to display table / column customizations correctly when certain editor is used.

    Next to your actual question. The most simple and straight-forward way is to create extra attributes in your context data node these are responsible for representing UI properties. Sure, you must set type of these attributes from <b>uielementdefinition</b> dictionary. Afterwards you can just set necessary values to context element attribute and your UI will reflect this changes automatically.

    Hope this helps,


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      please keep it mind that ALTERNATING and TRANSPARENT designs are only to be used for read-only tables. Depending on your NetWeaver version, this restriction may be enforced or not. So please check that your table's readOnly property is set, either in the developer studio or via API or data binding or...

      Best regards,