Hi Team,
I’m using Aspose.Cells for GridJS. I want to remove the updating.gif
image, but even after removing it from one location, it still loads from another source.
Could you please guide me on how to completely disable or remove this image?"
const loadNormalContext = (sheet) => {
const option = {
updateMode: ‘server’,
updateUrl: ‘/GridJs2/UpdateCell’,
showToolbar: true,
// showFileName:false,
//showGrid: true,
//mode: 'edit',
mode: 'edit',
//support multiple language ,the locale is: en zh es pt de ru nl
local: 'en',
loadingGif:'/static/content/img/updating.gif',
};
@sarathepiq
To completely remove the updating.gif
image in Aspose.Cells for GridJS, you need to set the loadingGif
option to an empty string. In your current configuration, it is set to /static/content/img/updating.gif
.
You can modify your loadNormalContext
function as follows:
const loadNormalContext = (sheet) => {
const option = {
updateMode: 'server',
updateUrl: '/GridJs2/UpdateCell',
showToolbar: true,
mode: 'edit',
local: 'en',
loadingGif: '', // Set to an empty string to disable the loading GIF
};
// Initialize your GridJS instance here
};
By setting loadingGif
to an empty string, the loading GIF will not be displayed. If you wish to use a different image, simply replace the empty string with the new image URL.
@sarathepiq,
Thanks for sharing the detail.
We need to evaluate your issue in details. We have opened the following new ticket(s) in our internal issue tracking system and will either provide relevant details with scripts or deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): CELLSGRIDJS-1915
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
@sarathepiq
For a simple workaround, you can just use this gif, and set the loadingGif to point to it.
transparent_1x1.gif (807 Bytes)
for example:
const option = {
//.......
loadingGif: '/static/content/img/transparent_1x1.gif',
};