714bdf2bb55c3f5170669b124d8ff69448263bfc.svn-base 616 B

1234567891011121314151617
  1. BemsWebApplication.CompanyEstimationCodeClass = function (params, viewInfo) {
  2. "use strict";
  3. var viewModel = BWA.DataGrid.createViewWithDataGrid(params, viewInfo, 'FmsCompanyEstimationCodeClass', {
  4. columns: [
  5. { dataField: 'CompanyEstimationClassId', caption: $G('number'), width: '20%', alignment: 'center' },
  6. { dataField: 'Name', caption: $G('companyEstimationClassName'), width: '80%', alignment: 'center' },
  7. ],
  8. popupWidth: 480,
  9. searchViewItems: [{ id: 'Name' }],
  10. handleViewShown: function () {
  11. }
  12. });
  13. return viewModel;
  14. };