Results 1 to 2 of 2

Thread: 3.3?RowSelectionModel?rowselect?????4.0?

  1. #1
    Sencha User mashiki's Avatar
    Join Date
    Oct 2007
    Location
    Japan
    Posts
    139

    Default 3.3?RowSelectionModel?rowselect?????4.0?

    ??????????????

    3.3?RowSelectionModel?rowselect?????4.0??????????????????
    ??????????

    Code:
    {
    	xtype: 'grid',
    	title: 'Client List',
    	store: st_clients,
    	cm: new Ext.grid.ColumnModel({
    		columns: [
    			{dataIndex:'cli_disp_order', align:'right', width:23, css:'font-size:11px;'},
    			{dataIndex:'cli_name', width:100},
    			{dataIndex:'cli_url'}
    		]
    	}),
    	sm: new Ext.grid.RowSelectionModel({
    		singleSelect:true,
    		listeners:{
    			rowselect: dispTargetView // ***** here
    		}
    	})
    }

  2. #2
    Sencha User mashiki's Avatar
    Join Date
    Oct 2007
    Location
    Japan
    Posts
    139

    Default

    GridView?selectionchange???4.0?????????????????

    GridPanel?listeners??????????????????
    ?????????????????????????????
    ???????????????
    Code:
    {
    	xtype: 'grid',
    	title: 'Client List',
    	store: st_clients,
    	columns: [
    		{dataIndex:'cli_disp_order', align:'right', width:23, css:'font-size:11px;'},
    		{dataIndex:'cli_name', width:100},
    		{dataIndex:'cli_url',id: 'auto'}
    	],
    	viewConfig: {
    		singleSelect:true
    	},
    	listeners:{
    		selectionchange: dispTargetView
    	}
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •