DevExtreme React Grid v2.0.0 Release Notes

Release Date: 2019-07-08 // over 4 years ago
  • 🚀 We released v2.0.0 today because we migrated to material-ui v4. For the time being, we will fix bugs in v1.x for those who need to remain on material-ui v3. We recommend updating to material-ui v4, since new features will only be included in v2.x.

    🐛 Bug Fixes

    • react-chart: arg and val scale inconsistency (#2070) (6286577)
    • react-chart: fix zooming on IPad (#2122) (41ebed6)
    • react-chart: update ZoomAndPan plugin ts declaration (#2109) (6a81792)
    • react-grid: add grouping as optional dependency for summary (#2097) (12d633f)
    • react-grid: add TableGroupRow as optional dependency for TableFixedColumns (#2112) (be38da1)
    • react-grid: calculate summary for collapsed groups under first level (#2106) (f7c7655)
    • react-grid: correct virtual table row boundaries for mui 4 (#2144) (ffc4681)
    • react-grid-bootstrap4: make resize control visible on resizing (#2103) (3f875c5)
    • react-scheduler: add capability to pass className and style into Scheduler layout component (#2140) (3177586)
    • react-scheduler: fix no space between appointments bug in Firefox (#2124) (0016a8b)
    • react-scheduler: remove excess commitChanges call by DnD (#2123) (044e188)
    • react-scheduler: set px as measurement unit of MonthView today cell lineHeight (#2145) (25fd88a)
    • react-scheduler: delete borders around Scheduler (#2136) (a5fe73f)

    🔨 Code Refactoring

    • react-scheduler: add display name to views (#2134) (4c20034)
    • react-scheduler: transfer DOM operations into theme package (#2068) (c851a48)

    🔋 Features

    💥 BREAKING CHANGES

    • react-scheduler: ViewSwitcher plugin's switcher component now doesn't have the currentViewName and availableViewNames properties. To specify the current view name use currentView property consisting of 2 fields: name and displayName. To provide available views, use availableViews property, which is an array of elements with name and displayName fields.
    ...
    <ViewSwitcher
      switcherComponent={({
    -   currentViewName,
    +   currentView,
    -   avalableViewNames,
    +   availableViews,
         ...restProps
      }) => (
        <ViewSwitcher.Switcher
    -      currentViewName={currentViewName}
    +      currentView={currentView}
    -      availableViewNames={availableViewNames}
    +      availableViews={availableViews}
           {...restProps}
        />
      )}
    />
    ...
    
    • react-scheduler: AllDayPanel plugin's layout component now doesn't have the allDayPanel property. To specify cell elements use setCellElementsMeta property.
    ...
    <AllDayyPanel
      layoutComponent={({
    -   allDayPanelRef,
    +   setCellElementsMeta,
         ...restProps
      }) => (
        <AllDayPanel.Layout>
    -      allDayPanelRef={allDayPanelRef}
    +      setCellElementsMeta={setCellElementsMeta}
           {...restProps}
        />
      )}
    />
    ...
    
    • react-chart: The x, y, and y1 properties in series points' coordinates have been renamed to arg, val, and startVal respectively. The old names were unsuitable in the case when the chart was rotated.