cancel
Showing results for 
Search instead for 
Did you mean: 

Textedit as column in table

Former Member
0 Kudos

Hi all,

I want to use textedit as a column in a table.I am using Netweaver2004s .

Please let me know how to do this .

Thanks and Regards,

Rajesh

Accepted Solutions (0)

Answers (10)

Answers (10)

Former Member
0 Kudos

solved

Former Member
0 Kudos

Hi all,

Thanks for your reply.This is due to nwds patch problem.Earlier I am using 7.0.6.Once i upgraded to 7.0.12 i am able to keep text edit in the table.

Thanks and Rergards,

Rajesh

Former Member
0 Kudos

Hi,

chk out the following link(PAGE NO 4) using SAP NetWeaver 7.0 ,

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80d81237-b780-2a10-d398-cc33af6b...

option textedit is available.

Hope it is useful.

Regards

Jayapriya

Former Member
0 Kudos

hi,

follow these steps

1.right click the coloumn u want and choose INSERT CELL VARIANT

2. in create new element menu that open choose TABLESTANDARDCELL

3.right click TABLESTANDARDCELL u have created under ur required column and choose INSERT EDITOR and now choose TEXT EDIT.

regards

Jayapriya

Former Member
0 Kudos

Hi Jayapriya,

Unfortunatately I cannot see textedit in the list.I am able to see textvie ,inputfiled,button.........May be it is due to version problem.

Thanks and Regards,

Rajesh

Former Member
0 Kudos

Hi Rajesh,

Check the following threads:

You can not use Textedit in a table but a workaround is possible as explained in the above threads.

Regards.

Rajat

Former Member
0 Kudos

Please check this link for help http://74.125.95.132/search?q=cache:76IiIVqdLocJ:www.sapdesignguild.org/resources/Accessibility_Guid...Iwanttousetexteditasacolumnina+table%2BNetweaver2004s&hl=en&ct=clnk&cd=7&gl=in

Former Member
0 Kudos

Hi Rajesh,

Below mentioned is an interesting link to add text edit to a table , this is also regarding cell variants.

Check it out ,

This has a step by step procedure which you can follow to create a text edit inside table , the example given is SUDOKU application creation,

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0310fd2-f40d-2a10-b288-bcbe0810...

Regards

Sam Charles J

Former Member
0 Kudos

Hi Rajesh,

There are 2 ways to do this in the layout part:

1) As already told by Armin, i.e., if you have already inserted the table in the layout.

2) Right click on RootUIElementContainer>Select Apply Templat>Select Table> Click Next>Select the context node to be binded with> Click Next>In the Editor property Select Textedit-->Click Finish.

Regards.

Rajat

Former Member
0 Kudos

Hi Armin and Rajat,

While I clicked insert table cell editor text edit is not displaying in the list.Please let me know what to do?

Thanks and Regards,

Rajesh

Former Member
0 Kudos

Hi Rajesh

please check whether textedit is binded with context or not.

thanks,

Tulasi Palnati

Former Member
0 Kudos

hi,

this is done using celll variants.

if u have

value node: MyTable

value attr : col1,

col2,

cellvar(type string)

to make col2 as textedit follow these steps

1.under root elementuicontainer navigate to col2 in the table.

2.right click and choose insert cell variant

3.select table std cell.

4.right click table std cell and insert editor of type text edit.

5. under the properties of col2 , in selectedcellvariant= MyTable.cellvar

6.in properties of table std cell ,variantkey = variant1

8.in properties of text edit u have entered in col2 set value to MyTable.col2

in the wdInit mehtod

use the following code

IPublicMyComponent comp = wdContext.nodeMyTable.createMyTableElement();

comp.setSelectedCellVariant("variant1");

MyComponent--->name of ur component

use the following link( HERE THE COLUMN CONTAINS INPUT FIELD)

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a08f194e-b79e-2b10-6481-ce1d7fc8...

Regards

Jayapriya

Former Member
0 Kudos

In the "Outline" view, right-click on the TableColumn, select "Insert TableCellEditor" and choose a TextEdit. Bind the TextEdit.value property to some attribute inside the data source node.

Armin