Skip to Content
author's profile photo
Former Member

Static values in Table columns

Hi

I am facing a problem here.At design time i am not binding the table UIElement to any context. I just want to add static values by adding a textview to every column and then changing the textview property text to some static value say USD. Now when i do that the column of the table also changes. How can i avoid that.

ravi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Jul 19, 2004 at 09:05 PM

    I don't exactly understand your question, but...

    1. The data source property of a IWDTable must always be bound to a (view) context node.

    2. If you want to display no data, simply let the data source node empty, use IWDTable.visibleRowCount to control how many (empty) rows are displayed.

    3. If you want to display the same value in a column for all rows, bind the column's table cell editor to a context attribute that does not belong to the data source node but e.g. is located at the context root.

    Regards, Armin

    Add comment
    10|10000 characters needed characters exceeded