React native 我们可以将ag grid datagrid与react本机应用程序集成吗

React native 我们可以将ag grid datagrid与react本机应用程序集成吗,react-native,react-native-android,ag-grid,React Native,React Native Android,Ag Grid,是否可以在android平台上运行的React本机应用程序中使用Ag grid datagrid 我尝试了与react web应用程序类似的步骤,但在logcat中出现了以下错误: ReactNativeJS ▶︎ Invariant Violation: View config not found for name div. Make sure to start component names with a capital letter.

是否可以在android平台上运行的React本机应用程序中使用Ag grid datagrid

我尝试了与react web应用程序类似的步骤,但在logcat中出现了以下错误:

  ReactNativeJS ▶︎ Invariant Violation: View config not found for name div. Make sure to start component names with a capital letter.
                                 │
                                 │ This error is located at:
                                 │ in div (created by AgGridReact)
                                 │ in AgGridReact (at App.js:58)
                                 │ in RCTView (at View.js:35)
                                 │ in View (at App.js:57)
                                 │ in RCTView (at View.js:35)
                                 │ in View (at App.js:53)
                                 │ in App (at renderApplication.js:40)
                                 │ in RCTView (at View.js:35)
                                 │ in View (at AppContainer.js:98)
                                 │ in RCTView (at View.js:35)
                                 │ in View (at AppContainer.js:115)
                                 └ in AppContainer (at renderApplication.js:39)

ag网格可以很好地扩展到小屏幕。您不会获得Excel或Google Sheets在其本机应用程序中提供的良好体验,但如果不一定要完美,您可以在WebView中呈现网格:

不,您不能使用基于JS的框架,React-Native需要编译成本机Android/iOS代码如果ag grid的人看到了这一点:如果您支持React-Native,那将是令人惊讶的。只需构建一次应用程序,使用Electron部署到Linux/Mac/Windows,部署到web,并使用与手机上react native相同的代码,性能优异。我很乐意为此支付额外的部署许可证。