Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Select cells in one column of a table
Topic Summary:
Created On: 11-Sep-2006 23:43
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 11-Sep-2006 23:43
User is offline View Users Profile Print this message


Krishna Kandala

Posts: 170
Joined: 8-Jul-2006

Hi All,
We are using DOORS version 7.1. We have the following function to select the cell objects in one row of a table:

for co in row(Object o) do {
 ...
}

Do we have a similar function to select the cell objects in one column?
- Krishna

Report this to a Moderator Report this to a Moderator
 12-Sep-2006 00:30
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Selections in DOORS MUST involve adjacent objects; you cannot select every other object. Thats why you cannot select multiple objects when Sorting or Filtering is on; apparently adjacent objects are generally not actually adjacent.

IIRC DOORS tables are stored first as columns then as rows, so selecting all the objects in a row does feature adjacent objects. Not so for objects in a column.

- Louie
Report this to a Moderator Report this to a Moderator
 12-Sep-2006 09:15
User is offline View Users Profile Print this message


Paul Worrall

Posts: 87
Joined: 30-Sep-2003

Judging from your code snippet, I think you are talking about iterating over the objects rather than selecting them (as you would using Shift - Click in the user interface). The attached code calls the 'doThis' function for all objects in the same column as the current Object. It assumes that all rows of the table have the same number of cells and that the n'th cell in each row are in the same column.
Report this to a Moderator Report this to a Moderator
 18-Sep-2006 15:49
User is offline View Users Profile Print this message


Krishna Kandala

Posts: 170
Joined: 8-Jul-2006

Hi Paul,

In fact I want to change the attribute values of the cells in a column. Your code is very helpful in doing the job. Thanks a lot.
- Krishna
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.