0
在對話框中,我創建了一個dojox/grid/DataGrid
用於顯示一些數據並且它正在工作。在選擇一行時,我必須在主屏幕上填充一些值。我可以在行中設置一些自定義參數,它會告訴您是否預先填充值。下面是佈局,我添加了一個參數 - preFillToMainScreen : true
如何在dojox/grid/DataGrid上設置自定義參數
var layout = {
cells: [
{
'name': 'Reinsurance Type',
'field': 'ReinsuranceType',
'width': '150px'
}, {
'name': 'Treaty Type',
'field': 'TreatyType',
'width': '100px'
}, {
'name': 'VTGBEZ',
'field': 'VTGBEZ',
'width': '120px'
}, {
'name': 'VTGNR',
'field': 'VTGNR',
'width': '120px',
'preFillToMainScreen': true
}
]
};
我怎樣才能得到這個參數preFillToMainScreen
(true或false)的值?
感謝