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)的值?
感谢