EnhancedLightningGrid icon indicating copy to clipboard operation
EnhancedLightningGrid copied to clipboard

Error thrown when attempting to use the grid component in custom lightning component.

Open vinodr opened this issue 7 years ago • 2 comments

I'm trying to utilize the grid component in a custom lightning component I am building but getting the following error:

screen shot 2018-10-15 at 5 49 10 pm

Upon further investigation, I found that the error is coming from the file "components/sortablegrid/sdgBase.js" when the code is trying to initialize sdgBase component:

var def = $A.componentService.getDef("markup://sortablegrid:sdgBase");

I think this is due to the fact that sdgBase is not global and lockerservice is blocking it.

Sample Code: <sortablegrid:sdg DefaultPageSize="10" ShowSDGError="true" ShowFilters="true" isPaging="true" HideOnError="false" MultiSelectMode="true" Title="Approved Recent Purchase Orders" SVGName="standard:account" SDGConfiguration="Apex:ApprovedPurchaseOrdersGridCon" UseCache="false" />

vinodr avatar Oct 16 '18 00:10 vinodr

vinodr - have you been able to come up with a resolution to this? it seems to have happened only when installing new in Winter19. If the app was installed before W19, no issues, but installed or upgraded afterwards, we get the same errors.

elmoreag avatar Oct 23 '18 16:10 elmoreag

@elmoreag Sorry, no. I am not using this anymore and haven't tried to make it work after the error as I realized this doesn't solve all my usecases.

vinodr avatar Nov 02 '18 21:11 vinodr