Skip to Content

Iterate in the View UItable

Hi all,

I have a UITable with two columns in the rootUIElementContainer, now I want to iterate in the UItable row by row and make a value as readonly based on condition dynamically. Please help me with some code.

Thanks in advance.

With regards,

Sai krishna

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 07:58 AM


    If you are using TextView as TableCellEditor, you cannot edit them. otherwise, if you are using Inputfield, you should create an boolean attribute in the context node which is bound to the table. Bind this attribute to Enabled property of the Inputfields.

    To iterate the table you can use For loop or While,

    IPrivate<Viewname>.I<NodeName>Node node=wdContext.node<NodeName>();


    <b>for</b>(initialize; condition; increment/decrement)


    IPrivate<Viewname>.I<NodeName>Element element=wdContext.create<NodeName>Element();















    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.