cancel
Showing results for 
Search instead for 
Did you mean: 

Binding of UI Element "Table"

Former Member
0 Kudos

When we create a UI element table and bind it to a node of "View Context" (node refers to a DDIC table), do we need to further bind each and every column of the table by using "CreateBinding"?

If I go for Create Binding by right clicking on the UI element table, I get a window which needs following details:-

Standard Cell Editor

Standard Property

and a table with following columns,

Context Attribute | Cell Editor of Column | Binding | Name of Property to be Bound

What is the exact use of this extra step of binding, if required?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

the table might have a strucutre containing 10 fields, but one just wants to display 8

one might want to display data from the table with different ui-elements

one column might take data from two table fields, one as text another one as a tooltip

Regards, Silke

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>

> the table might have a strucutre containing 10 fields, but one just wants to display 8

> one might want to display data from the table with different ui-elements

> one column might take data from two table fields, one as text another one as a tooltip

> Regards, Silke

When you create the binding for the table UI element, the table binding wizard comes up. Here you can further redefine the binding on the individual columns. For your case, just uncheck the columns of the table that you don't want to expose directly to the tableUI element as columns.

You won't be able to set the tooltip during the wizard, but after the wizard generates all the columns and cellEditors, just go to the column you want to alter and adjust the bindings manually. There you can set the tooltip of ColumnA to point to the bindings of any other attribute in the bound node.

Former Member
0 Kudos

Hi

Once you bind with the context node thats enough no need of binding individual columns,and the purpose of the table what you mentioned is suppose if you want to display a column as dropdown or editable field then you can use the cell editor dropdown of that table

Regards

Tamil