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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

how to abrogate mvcTable' Scrollbar

czhou-2
1-Newbie

how to abrogate mvcTable' Scrollbar

hi all,

     how to abrogate mvcTable' Scroll bar , for example:

Snap3.jpg

table show all datas,    don't    drag Scrollbar.

1 REPLY 1
BhushanNehe
14-Alexandrite
(To:czhou-2)

Hi Chao,

Is this a custom table? You can specify the table height to show certain number of objects without table scroll bar while calling the builder as shown below:

<mvc:tableContainer compId="tableID" height="1000"/>

Also, I believe you can set the height using JavaScript after the table is rendered.

var tableCmp = Ext.getCmp(tableId);

          if(tableCmp.getHeight()<200) {

            tableCmp.setHeight(500);

        }

Regards,

Bhushan

Top Tags