extjs4 - How to decrease the extjs Grid panel size to fit into another continer? -


i have panel consist data grid multiple number of columns. have re sized column widths fit parent container there still columns hidden. need use horizontal scroll bar see remaining columns. need have grid fit panel.

so if decrease font size of grid panel or fits panel.

please see screenshot below: enter image description here

thanks in advance!

i know forcefit property, data being hidden in grid of columns. in flex possible. window of normal size , grid bit less in size fit in window.

see below screenshot how wanted grid be:

enter image description here

use "forcefit" config of grid fit available width.

refer below docs

http://docs.sencha.com/extjs/4.2.1/#!/api/ext.grid.panel-cfg-forcefit

i hope looking for.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -