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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -