Discuss anything related to web development but no technical support questions


Post by harini »

I have added following snippet to apply locale, but its throwing the following error.
Same code is working in sample testing grid.

Attachments
2023-10-09 13_13_00-rootstockEnhancedGrid.js - Bryntum Grid - Visual Studio Code.png
2023-10-09 13_13_00-rootstockEnhancedGrid.js - Bryntum Grid - Visual Studio Code.png (54.08 KiB) Viewed 1029 times
2023-10-09 13_09_20-Calendar.png
2023-10-09 13_09_20-Calendar.png (44.79 KiB) Viewed 1029 times

Post by tasnim »

Hi,

It seems like bryntum is undefined. Try debugging it with a breakpoint.
If that doesn't help. Please upload a runnable test case where we could reproduce and debug it!


Post by harini »

Here I have attached sample testing code. This is what I am trying to perform in my grid. It is not working.
Is this because of locale script file is not loaded?

Attachments
2023-10-09 20_25_14-Rootstock Enhanced Grid _ Salesforce.png
2023-10-09 20_25_14-Rootstock Enhanced Grid _ Salesforce.png (24.51 KiB) Viewed 1015 times
bryntumGrid.js
(1.93 KiB) Downloaded 77 times

Post by Maxim Gorkovsky »

I would say so, yes. I am not sure salesforce would allow loading resources like this. They have a special loadScript function to load js from the cloud. Try loading locale using that function?


Post Reply