Skip to Content
author's profile photo Former Member
Former Member

How to move to next element within a node?

Hi,

I have a requirement wherein i have to navigate from first to last element in a table (node)?

Any ideas about how to achieve that?

Regards,

Dev

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2005 at 08:42 AM

    Hi Devashish,

    Iprivate<view>.I<node_name>Element elmt;

    for(int i=0;i<wdContext.node<node_name>().size();i++)

    {

    elmt = wdContext.node<node_name>().get<node_name>ElementAt(i);

    Access the value through elmt.get<property>();

    }

    Hope this helps,

    Best Regards,

    Nibu.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 28, 2005 at 08:46 AM

    Hello Devashish,

    com.sap.tc.webdynpro.progmodel.context.Node (super class for nodes)
    	public final void moveFirst()
    	public final void moveLast()
    	public final IWDNodeElement moveNext()
    	public final IWDNodeElement movePrevious()
    

    Best regards, Maksim Rashchynski.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2005 at 10:11 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.