Welcome to the React feedback portal. We’re happy you’re here! If you have feedback on how to improve the React, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Using the most recent version (18.1.44) of the DataGrid, I am unable to render custom column templates. It throws this console error:


template.js:71 Uncaught TypeError: str.match is not a function
    at evalExp (template.js:71)
    at compile (template.js:58)
    at Object../node_modules/@syncfusion/ej2-react-grids/node_modules/@syncfusion/ej2-base/src/template-engine.js.Engine.compile (template-engine.js:130)
    at compile (template-engine.js:21)
    at templateCompiler (util.js:200)
    at new Column (column.js:162)
    at prepareColumns (util.js:257)
    at GridComponent../node_modules/@syncfusion/ej2-react-grids/node_modules/@syncfusion/ej2-grids/src/grid/base/grid.js.Grid.render (grid.js:777)
    at GridComponent../node_modules/@syncfusion/ej2-react-grids/src/grid/grid.component.js.GridComponent.render (grid.component.js:35)
    at GridComponent../node_modules/@syncfusion/ej2-react-grids/node_modules/@syncfusion/ej2-base/src/component.js.Component.appendTo (component.js:148)


Downgrading to version 17.4.55 fixes this issue to me. It's a little strange since all the demos running 18.1.44 seem to work, so it might have something to do with my configuration. Attached is a screenshot of my render function.
Note: I've tried a clean install of all the Syncfusion packages, and it was still throwing this error. React version: 16.13.1
Built using Webpack 4.42.0
Version 17.4.55 works for our needs right now, just figured I'd report the issue. If you need any more details, let me know!