hi, i have a problem in creating a window with severals GridPanel :
//create the panel
var grid1 = new Ext.grid.GridPanel({
border:false,
ds: new Ext.data.Store({
reader: new Ext.data.ArrayReader({}, [
{name: 'company'},
{name: 'price', type: 'float'},
{name: 'change', type: 'float'},
{name: 'pctChange', type: 'float'}
]),
data: Ext.grid.dummyData
}),
cm: new Ext.grid.ColumnModel([
new Ext.grid.RowNumberer(),
{header: "Company", width: 120, sortable: true, dataIndex: 'company'},
{header: "Price", width: 70, sortable: true, renderer: dataIndex: 'price'}, MFried: Mini Grid Panel Connectors:: Mini Grid Panel Connectors -. ► Grid-style mini panels combine to form stackable cubbies in any configuration. ► Plastic connectors are used to secure http://www.mfried.com/product1.asp?P=P173HOME | ReuteRs tRading foR foReign exchange:: File Format: PDF/Adobe Acrobat - View as HTMLThe market grid panel displays. 2. Click the Create link. . We combine industry expertise with innovative technology to deliver critical information to http://about.reuters.com/productinfo/tradingfx/material/RTFXQuickStartGuide2008.pdfHOME |
{header: "Change", width: 70, sortable: true, dataIndex: 'change'},
{header: "% Change", width: 70, sortable: true, dataIndex: 'pctChange'}
])
});
var grid2 = new Ext.grid.GridPanel({
border:false,
ds: new Ext.data.Store({
reader: new Ext.data.ArrayReader({}, [
{name: 'company'},
{name: 'price', type: 'float'}, Using Tools and Windows in Expression Blend 2.0:: Nov 3, 2008 UniformGrid is not a variation of the grid panel; it can be more . If you need PDF reports you don't have to use complex report http://www.longhorncorner.com/UploadFile/puranindia/UsingToolsandWindowsinExpressionBlend11032008234244PM/UsingToolsandWindowsinExpressionBlend.aspxHOME | PyUI Layouts:: TabbedPanel() for title in ("Grid Panel", "FOO", "Last one"): tabbed. So, by combining Layout Managers and special Panel types it is possible to create http://pyui.sourceforge.net/layouts.htmlHOME |
{name: 'change', type: 'float'},
{name: 'pctChange', type: 'float'}
]),
data: Ext.grid.dummyData
}),
cm: new Ext.grid.ColumnModel([ Professional WPF Programming: .NET Development with the Windows - Google Books Result:: href=http://books.google.com/books?id=8xN_WZ8pcLAC&pg=PA97&lpg=PA97&dq=Need+Help+In+Combining+GridPanel&source=web&ots=6RLPNPvR4F&sig=be9xQqv2-kyg5VK6eagUON9Pc7M&hl=en&sa=X&oi=book_result&resnum=33&ct=result class=l onmousedown=return clk(this.href,,,res,39,)>Professional WPF Programming: .NET Development with the Windows - Google Books Resultby Chris Andrade, Shawn Livermore, Mike Meyers - 2007 - Computers - 451 pagesThe Layout Root is a Grid panel that is created by default with each new page. Bring up the brushes category by selecting the properties panel. 3. http://books.google.com/books?id=8xN_WZ8pcLAC&pg=PA97&lpg=PA97&dq=Need+Help+In+Combining+GridPanel&source=web&ots=6RLPNPvR4F&sig=be9xQqv2-kyg5VK6eagUON9Pc7M&hl=en&sa=X&oi=book_result&resnum=33&ct=resultHOME |
new Ext.grid.RowNumberer(),
{header: "Company", width: 120, sortable: true, dataIndex: 'company'},
{header: "Price", width: 70, sortable: true, renderer: dataIndex: 'price'},
{header: "Change", width: 70, sortable: true, dataIndex: 'change'},
{header: "% Change", width: 70, sortable: true, dataIndex: 'pctChange'}
])
});
// and another two gridPanel w/ the same constructor
// then we add into window
MyDesktop.TestWindow = Ext.extend(Ext.app.Module, {
id: 'test-win',
init: function(){
this.launcher = {
text: 'Test Window',
iconCls: 'icon-grid',
handler: this.createWindow,
scope: this
}
},
createWindow: function(){
var desktop = this.app.getDesktop();
var win = desktop.getWindow('test-win');
if (!win) {
win = desktop.createWindow({
id: 'test-win',
title: 'Test Window',
width: 740,
height: 480,
iconCls: 'icon-grid',
shim: false,
animCollapse: false,
constrainHeader: true,
layout: 'fit',
items: [grid1] [grid2] [grid3] [grid4],
});
}
win.show();
}
});
it wont work it says : [grid1] has no properties.
please someone help me, or maybe i use a wrong method/constructor ? well i'm kinda new in ExtJS, just try to use it a few days ago.
I've attached image for the layout i want to make.
Create viewport with column layout with 2 columns, and add two grids to each colums. Altarnatively use table layout with 2 columns and add the grids to the vieport. Remember viewport attaches to the body element. If you dont want that use a Panel or window instead. I dont think you need to extend enything. Look at the examples.
Where's The Advantage In Windows Genuine Advantage?
Stocks Bounce After S&P Joins Bear Market |