Javascript-форум (https://javascript.ru/forum/)
-   ExtJS (https://javascript.ru/forum/extjs/)
-   -   Нужен совет по Tabpanel (https://javascript.ru/forum/extjs/18831-nuzhen-sovet-po-tabpanel.html)

GuardNW 17.07.2011 15:07

Нужен совет по Tabpanel
 
Есть вот такой кусок кода:
var tabs = new Ext.TabPanel({

renderTo: 'tab',
activeTab: 0,
width: '100%',
height: 800,
plain: true,
defaults: { autoScroll: true },					

items: [{
            xtype: 'panel',
	    title: 'Example2',
	
           items:[{
		     xtype:'grid',
		     title: 'Users',
		     store: ds,
		     columns: [
			      {header: "id", dataIndex: 'id', width:40},
			      {header: "Name", dataIndex: 'Name', width:150}],
				sm: new Ext.grid.RowSelectionModel({
				singleSelect: true,
				listeners: {
				rowselect: {
				fn: function(sm,index,record) {}
			   }}})
}]
}]


Вопрос в чем как можно получить доступ к grid?


Часовой пояс GMT +3, время: 12:32.