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

Rows

Hi, i want to know if its possible to enable or to disable a single row in a table within a view.

If its possible, please tell me how?

Thanks and Regards.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Feb 22, 2005 at 03:02 PM

    Hi Joaquin,

    you can try to use following approach as workaround:

    1) Create in node value attribute with type boolean (valid)

    2) in wdDoModifyView add code:

    final IWDTable table   = (IWDTable)view.getElement("tableName");
    final IWDTableColumn[] columns = table.getColumns();
        	
    for (int i = 0; i < columns.length; i++)
    {
    	final IWDTableColumn column = columns[ i ];
    	((IWDUIElement)column.getTableCellEditor()).bindEnabled("node.valid");
    }
    

    3) Set node.valid to appropriate value.

    regards Maxim R.

    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.