GridPanel

Example of a basic GridPanel:

var grid = new Ext.grid.GridPanel({
	title: 'Product Inventory',
	store: new Ext.data.SimpleStore({
		fields: [
			'productSku',
			'price', 
			{name: 'expires', type: 'date', dateFormat: 'm-d-Y'}
		],
		data: [
			['A0015', 101.25, '09-01-2007'],
			['C0084', 29.01, '09-02-2007'],
			['H0016', 83.81, '09-05-2007']
		]
	}),
	columns: [{
		dataIndex: 'productSku',
		header: 'Product SKU'
	},{
		dataIndex: 'price',
		header: 'Price',
		renderer: Ext.util.Format.usMoney
	},{
		dataIndex: 'expires',
		header: 'Expires',
		renderer: Ext.util.Format.dateRenderer('m/d/Y')
	}],
	viewConfig: {
		forceFit: true
	}
});