BemsWebApplication.WorkCodeType = function( params, viewInfo ) { "use strict"; var viewModel = BWA.DataGrid.createViewWithDataGrid( params, viewInfo, 'FmsWorkCodeType', { columns: [ { dataField: 'WorkTypeId', caption: $G('number'), width: '15%', alignment: 'center' }, { dataField: 'Name', caption: $G( 'workCodeTypeName' ), width: '35%', alignment: 'center' }, { dataField: 'Description', caption: $G('description'), width: '50%', alignment: 'center' } ], popupWidth: 480, isUseSiteId: false, //notDeleteInPopup: true // hcLee 2015 03 06 useDeleteButton: false // hcLee 2015 03 06 } ); return viewModel; };