Apr 07, 2016, 1:31 AM
[CLOSED] Callout bodyWidget not showing
I need to create a Callout by javascript, but the bodyWidget i not showing up:
@{ var x = Html.X(); }
@(
x.Panel()
.Height(100)
.Width(100)
.Listeners(l => l.Render.Handler = @"
var c = Ext.create('Ext.net.Callout', {
title: 'Callout',
target: item,
closeOnOutsideClick:true,
bodyWidget: Ext.create('Ext.panel.Panel', {
title: 'Panel',
width: 100,
height: 100,
layout: 'fit',
html:'<p>Content</p>',
})
});
c.show();
")
)
Last edited by fabricio.murta; Apr 07, 2016 at 9:07 PM.