Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

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


    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 a 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.