lazhen
2024-08-29 bac6da002528f06ab9c91bb48d5a6e72493b2b60
_Main/UI/MacroPlannerWebApp/Component_FormDemandComparison/Component_MatrixEditor.def
@@ -20,13 +20,13 @@
            DataType: 'LocalTable'
            Source: 'dhComparisonData'
            Taborder: 0
            Transformation: 'LocalRow.LocalCell'
            Transformation: 'LocalRow.LocalCell.astype(LocalCell_DemandComparison)'
          ]
        }
      ]
      Properties:
      [
        Attributes: 'Value'
        Attributes: 'BaseVersion;CompareVersion;Gap'
        Column: 'LocalColumn'
        Row: 'LocalRow'
        Taborder: 0
@@ -45,6 +45,8 @@
          Properties:
          [
            DataType: 'LocalTable'
            FilterArguments: 'checkedProduct:QMacroPlanner::FormDemandComparison.dhFinelProduct'
            FixedFilter: 'exists( checkedProduct,Elements,product,product.ID() = object.ProductID())'
            Source: 'dhComparisonData'
            Taborder: 0
            Transformation: 'LocalRow'
@@ -53,7 +55,7 @@
      ]
      Properties:
      [
        Legend: 'Index'
        Legend: 'Name'
        SortCriteria: 'Index'
        Taborder: 1
      ]
@@ -71,6 +73,8 @@
          Properties:
          [
            DataType: 'LocalTable'
            FilterArguments: 'startDate:QMacroPlanner::FormDemandComparison.dhStartDate;endDate:QMacroPlanner::FormDemandComparison.dhEndDate'
            FixedFilter: 'not object.IsAttrbuteColumn() and startDate <= object.Date() and endDate > object.Date()'
            Source: 'dhComparisonData'
            Taborder: 0
            Transformation: 'LocalColumn'
@@ -89,6 +93,7 @@
  ]
  Properties:
  [
    AllowMultipleAttributes: true
    Columns: 'MatrixEditorColumns'
    ContextMenu: 'matrixeditorContextMenuDemandComparison'
    Rows: 'MatrixEditorRows'