Skip to Content
author's profile photo
Former Member

Table UI element

Hi all,

I'm using the table element in my web dynpro application, i've assigned the datasource to this and i've done the binding also. But when the page is rendered, if the there are no elements in the context nodes bound to this table the whole view(page) is empty, on the other hand if i populate the elements in the context nodes the table with the other elements becomes visible.

what should i do to make the empty table visible ?

thanks in advance.

Rajinikanth Pattabiraman.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    May 20, 2004 at 01:22 AM

    Hello,

    you should never get en empty response page. If so, a fatal error has occured. Check the server log file in this case.

    To the data binding terminology:

    UI element properties are bound to context items (nodes, attributes) and not vice versa.

    A table UI element's data binding works as follows:

    - The table's "dataSource" property is bound to a context node with cardinality 0..N

    - The table contains table columns (IWDTableColumn). Each table column has a table cell editor (IWDTableCellEditor)

    - The editor's properties are bound to attributes of the data source node.

    When the data source is empty, i.e. the context node contains no elements, the table is rendered with empty rows. The number of displayed rows is determined by the table's "visibleRowCount" property.

    Hope this helps.

    Regards, Armin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I'm still having the same problem, server log doesn't give any error.

      I've declared the data source and visible rowcount corectly. No UI elements are visible when the table UI is empty. But when i populate the datasource in the init method of the view all the UI become visible.

      has anybody encountered a problem like this ? if so what is to be done to display the empty table ? .

      thanks in advance.

      Rajinikanth Pattabiraman