Skip to main content
1-Visitor
February 13, 2014
Question

How to resize the table in Windchill 10.1 to show all the objects?

  • February 13, 2014
  • 1 reply
  • 3036 views

Hi,

We have a table which is showing the WTPart objects (100 Parts are in the table). The table is showing only 10 objects and we need to scroll down the table to see the full list of objects.

But the requirement is it should display all the objects in the table. How to achieve this requirement?

Thanks

Selva

1 reply

12-Amethyst
February 13, 2014

Is the Window to small to show all rows? Then you can catch the bottom borderline and drag it down to show more lines.

If you only can see 10 rows in a Table, it is a Preference, that manage this.

(Preferences, Table, Size Limit)

Have a great day

Thomas

SelvamP11-VisitorAuthor
1-Visitor
February 13, 2014

Hi,

No the window larger enough to fit the table. It is a custom table. I want to fix the code. it should automatically fit the table rows. I dont want to the user to drag and see.

Preference set to 2000;

I use the below code:

<jca:describeTable var="tableDescriptor" id="cnreport.affected.revisions" configurable="false"

label="Resulting Objects - Parts">

<jca:describeColumn id="type_icon" sortable="true" defaultSecondarySort="true"/>

<jca:describeColumn id="number" sortable="true" defaultSort="true" />

<jca:describeColumn id="name" sortable="true" />

<jca:describeColumn id="version" sortable="true"/>

<jca:describeColumn id="source" sortable="true"/>

</jca:describeTable>

<c:set var="name2" value="<%=name2%>"/>

<c:set var="number" value="<%=number%>"/>

<jca:getModel var="tableModel" descriptor="${tableDescriptor}"

serviceName="ext.ddd.change.reports.CNRevChanges"

methodName="getResultedObjectsWTParts" >

<jca:addServiceArgument value="${name2}" type="java.lang.String"/>

<jca:addServiceArgument value="${number}" type="java.lang.String"/>

</jca:getModel>

<jca:renderTable model="${tableModel}"/>

1-Visitor
February 22, 2014

Selvam,

Where have you put the below code? In which file?

Regards,

Ravin K Kayasth