Skip to content

Instantly share code, notes, and snippets.

View MyCADDev's full-sized avatar

Harish C. Manohar MyCADDev

View GitHub Profile
@MyCADDev
MyCADDev / add_panel.js
Created September 7, 2011 03:31
Dynamic Accordion Panel - not working
{
addPanel: function(params)
{
var p = new Ext.panel.Panel({title: params});
this.items.add(p);
}
}
@MyCADDev
MyCADDev / my_chart.js
Created September 3, 2011 03:39
Rendering a Chart with a Netzke component
{
initComponent: function(params)
{
// Define the model
Ext.define(this.id, {
extend: 'Ext.data.Model',
idProperty: this.pri, // Primary key
fields: [{
name: 'month',