PDA

View Full Version : Getting blank page on initiating HybridSummary class



chullan
11 Aug 2009, 4:10 PM
Hi ,

I am trying to add group summary like in http://extjs.com/deploy/dev/examples/grid/totals-hybrid.html .But when I intiates the class HybridSummary like

var summary = new Ext.ux.grid.HybridSummary();
I am getting a blank page.I copied the Ext.ux.grid.HybridSummary class from http://extjs.com/deploy/dev/examples/ux/GroupSummary.js .Any idea?

thanks

chullan
12 Aug 2009, 4:34 AM
any ideas?

Condor
12 Aug 2009, 4:36 AM
Are you getting any javascript errors (e.g. using Firefox+Firebug or the IE8 debugger)?

chullan
12 Aug 2009, 8:39 AM
I got an error "Ext.ux.grid.GroupSummary is undefined" ,but I do have the file Ext.ux.grid.GroupSummary.js .I copied the code from http://extjs.com/deploy/dev/examples/ux/GroupSummary.js

chullan
12 Aug 2009, 9:15 AM
I am using another plugin Ext.ux.grid.Search which is working fine..any one facing similar issue with GroupSummary?

chullan
12 Aug 2009, 9:34 AM
Now I am getting another error like "Ext.ux.grid.GroupSummary is not a constructor" .Please help

thanks

Condor
12 Aug 2009, 10:42 AM
You must be including the plugin code incorrectly.

You should just include the file(s) after ext-all.js, but before your own code.