on 11-29-2005 8:22 PM
Hi all,
How control can I use to see a complete table? But, without use table control.
My bapi returns a table, but I need see this result as a texteditor or textview, but if I use this control, I can only view the first row.
thanks in advance,
david
ok
I use this method. thanks for your help.
david
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sorry, I'm beginger ...
what is the displayAreaID ?
david
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want see the result like a text view, not a table design.
The only solution is getting the string for each row and paste on the textview?
or I can use any control similar of table control directly?
thank in advance,
david
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are using NW04s, table popins could be the solution.
If you are using NW04, you could create a TextView element for each node element and put it into a container, like:
wdDoModifyView(...)
if (dataChanged)
{
IWDUIElementContainer displayArea = (IWDUIElementContainer) view.getElement("<displayAreaID>");
displayArea.destroyAllChildren();
for (int i = 0; i < wdContext.node<Data>().size(); ++i)
{
I<Data>Element data = wdContext.node<Data>.get<Data>ElementAt(i);
IWDTextView text = (IWDTextView) view.createElement(IWDTextView.class, null);
text.setText(data.get<Attribute>());
displayArea.addChild(text);
}
}
Armin
Can you please be more specific?
I guess: You get as a result of a BAPI call a list of context node elements which you don't want to display in a Web Dynpro Table (why?), but as a sequence of TextView elements?
If so, you could create in method wdDoModifyView() for each node element a TextView UI element displaying it.
Is this what you want?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.