PDA

View Full Version : [CLOSED] PartialExtView GridPanel Title



Timothy
May 03, 2012, 6:44 PM
Hello,

When including a GridPanel inside a PartialExtView response over AJAX the title bar is black. Please see attached image, and below JavaScript response from AJAX request:




Ext.net.addTo("TabSetupUser", [{border:false,xtype:"panel",items:[{html:"\r\n\t\t\t\t<h2>Users</h2>\r\n\t\t\t\t<p>Use the following section to manage the <i>Users</i> on the application:</p>\r\n\t\t\t",xtype:"container"},{store:{model:Ext.define(Ext.id(), {extend: "Ext.data.Model", fields:[{name:"Id"},{name:"FirstName",type:"string"},{name:"LastName",type:"string"},{name:"Email"}] }),storeId:"id96615ea41e81fa55",autoLoad:true,proxy:{type:"ajax",reader:{type:"json",idProperty:"Id",root:"data"},url:"/Management/User/Get"}},xtype:"grid",title:"Users",columns:{items:[{flex:1,dataIndex:"Email",text:"Email"}]}}]}]);




a.Add(Html.X().GridPanel()
.Title("Users")
...
)


Any suggestions? I'm using latest SVN.

Cheers,
Timothy

Vladimir
May 03, 2012, 7:04 PM
Cannot reproduce, i guess you have custom css rules otherwise please provide a sample reproduces the issue

Timothy
May 03, 2012, 7:08 PM
You are correct, my apologies. Please delete this thread. I'll watch for this better in the future when reporting a bug.

Cheers,
Timothy

Vladimir
May 03, 2012, 7:09 PM
No problem