OpenUi5 Grid - Implement in Spfx Webpart - Error

%3CLINGO-SUB%20id%3D%22lingo-sub-1791589%22%20slang%3D%22en-US%22%3EOpenUi5%20Grid%20-%20Implement%20in%20Spfx%20Webpart%20-%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1791589%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3BI%20am%20working%20in%20sharepoint%20online%202019%20List.%20I%20am%20working%20in%20spfx%20webpart.I%20need%20to%20customise%20AllItems%20Page.So%20I%20need%20to%20integrate%20openui5%20in%20spfx%20webpart.%20When%20i%20try%20to%20import%20types%20modules%20of%20ui5%2C%20i%20am%20unable%20to%20build%20the%20webpart.I%20am%20getting%20the%20errors%20like%3C%2FP%3E%3CP%3E%22Cannot%20find%20module%22%2C%3C%2FP%3E%3CP%3E%22index.d.ts%20is%20not%20a%20module%20like%20that%22.%3C%2FP%3E%3CP%3ECan%20anyone%20please%20help%20me%20with%20the%20sample%20code%20how%20to%20implement%20openui5%20(grid)%20in%20webpart.%3C%2FP%3E%3CP%3EI%20am%20using%20No%20JavaScript%20framework%20webpart.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20installing%20below%20items%2C%3C%2FP%3E%3CP%3Enpm%20install%20%40openui5%2Fsap.ui.core%3CBR%20%2F%3Enpm%20install%20%40openui5%2Fsap.ui.table%3CBR%20%2F%3Enpm%20install%20%40sapui5%2Fts-types%20--save%3CBR%20%2F%3Enpm%20install%20%40openui5%2Fts-types%20--save%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20to%20include%20openui5%20in%20import%20section%3F%20Help!%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2Fimages%2Femoticons%2Funamused_40x40.gif%22%20alt%3D%22%3Aunamused%3A%22%20title%3D%22%3Aunamused%3A%22%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EAnnamsoft%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1791589%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

Hi

 I am working in sharepoint online 2019 List. I am working in spfx webpart.I need to customise AllItems Page.So I need to integrate openui5 in spfx webpart. When i try to import types modules of ui5, i am unable to build the webpart.I am getting the errors like

"Cannot find module",

"index.d.ts is not a module like that".

Can anyone please help me with the sample code how to implement openui5 (grid) in webpart.

I am using No JavaScript framework webpart.

 

I tried installing below items,

npm install @openui5/sap.ui.core
npm install @openui5/sap.ui.table
npm install @sapui5/ts-types --save
npm install @openui5/ts-types --save

 

How to include openui5 in import section? Help!:unamused:

 

Thanks

Annamsoft

0 Replies