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:
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:
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
Post a Comment