Using withStyles with ag-grid custom cellEditor throws warning in console - Framework component is missing the method getValue()

爷,独闯天下 提交于 2020-05-17 05:55:28

问题


I am trying to implement custom datepicker as cellEditor to ag-grid column of type date. When I use plain class component it works fine. But the moment I wrap it within a HoC, specifically withStyles of Material-ui, I receive a warning in console "Framework component is missing the method getValue()". I tried to follow the same sample (without required change for datepicker) given in this link -https://www.ag-grid.com/react-hooks/. But it doesn't work as well. And I receive the same warning here as well. I don't see any working example of this and also not sure which version of ag-grid-react and react supports this feature. Any help in this regard would be very much appreciated as I am stuck with this issue since long time. Thanks in advance. Cheers!

ag-grid-community, ag-grid-enterprise, ag-grid-react versions ^21.2.1

来源:https://stackoverflow.com/questions/61658472/using-withstyles-with-ag-grid-custom-celleditor-throws-warning-in-console-fram

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!