Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

scrollable text field in table

Hi,

We have requirement of an editable scrollable text field to be put in one column of a tble.

Input field wouldnot do as it is not scrollable..

There is not any option for 'TextEdit' in tableCellEditor.

Please suggest a solution. Thanks in advance.

Thanks&regards

Ananya

Former Member
Former Member replied

Ananya,

<u>Option 1:</u>

Simply get the lead selected element from the node that is bound to the table and load the text from suitable attribute of the lead selected element to the TextEdit UI element (present outside the table).

In other words, assuming "attr1" is the attribute that is bound to the TextEdit, write some code like this in the onLeadSelect action of the table:

   int ls = wdContext.node<TableSource>.getLeadSelection() ; 
   wdContext.currentContextElement.setAttr1(
          wdContext.node<TableSource>.get<TableSourceElement>At(ls).get<Text>; 
                                           )

<u>Option 2:</u>

Refer my forum post @ Table Popup menu of NW 2004s.

Bala

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question