cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

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

SelvamP1
1-Newbie

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

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

4 REPLIES 4

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

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}"/>

rkayasth
6-Contributor
(To:SelvamP1)

Selvam,

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

Regards,

Ravin K Kayasth

Trying to revive this.  I have 50 items in my affected objects.  The table defaults to only show some of the items, then I have to grab the bottom of the table and drag down to show more.  This is time consuming to have to do this with 50 to 100 items in my list.  Is there a way to make this table automatically the size of the full list?  I see a response here, but I am new to customization and would not have any idea where to use the code shared here.

Top Tags