cancel
Showing results for 
Search instead for 
Did you mean: 

for help...

Former Member
0 Kudos

hi..

I am working with dynamic Text view application. In my funtion module output it shows table format. But i need to show that text only..without rows,columns and lines.

for that i am using in my result view dynamic textview. But i am not getting that o/p. please anybody tell how will do this appl? i need full steps.. i am new in Webdynpro..Please explain all steps..

it's very urgent...

with regards,

Gobinath.R

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member485701
Active Participant
0 Kudos

Hi,

Take the output in JCO.Table.

and then fetch the textvalue in some String variable like this:

JCO.Table table= (JCO.Table) exportParamValues.get("testvalue");

String[] textView=new String[table.getNumRows()];

for (int index = 0; index < table.getNumRows(); index++) {

table.setRow(index);

textView[index]=((String)table.getValue("text"));

}

Now take a for loop and use these values for creating TextView by using the above String array like this.

in wdModifyview()

{

IWDTextView textview1=(IWDTextView)view.createelement(IWDTextView.class,"text1");

textView1.setText( textView[index]);

Regards,

Praveen

Former Member
0 Kudos

hi..

sorry...i am not getting ur concept.(that jco coding)..can u explain detail?please...because i am new..

with regards,

Gobinath.R