Skip to main content
December 2, 2015
Question

how to abrogate mvcTable' Scrollbar

  • December 2, 2015
  • 1 reply
  • 1133 views

hi all,

     how to abrogate mvcTable' Scroll bar , for example:

Snap3.jpg

table show all datas,    don't    drag Scrollbar.

1 reply

16-Pearl
December 8, 2015

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