2013-08-27 70 views
0

我需要創建一個帶有複選框和文本框列的網格,當我按下按鈕時,我想從每個網格行文本框中獲取數據。帶文本框的網格面板

我有複選框的網格,我缺少textfield部分。

var grid = Ext.getCmp('prefix_grid'); 
var checkboxSelection = grid.getSelectionModel().getSelection(); 
var v_url = 'GetBiddingRows.jsp'; 
var temp = ''; 
for (i=0; i<=checkboxSelection.length-1; i++){ 
    temp = temp + checkboxSelection[i].get('operator_desc') + "," 
        checkboxSelection[i].get('vendor_name') 
} 
+0

如何定義您的列? –

回答