javascript - Fit container inside element with table layout -
i need fit container inside table cell. currently, unable so, , container shows when manually set height.
here fiddle showing issue.
https://fiddle.sencha.com/#fiddle/13ug
if set container height (say, 300), container displayed. however, container automatically fit colspan/rowspan , resize according table.
could please help? thanks!
this auto size container fill 100% of cell height - if cell height increases.
initcomponent: function() { var me = this; var tester2 = ext.create("ext.container.container"); ext.apply(tester2, { height: "100%", layout: "fit", style:"background-color: red", colspan: 5, rowspan: 2, });
Comments
Post a Comment