Upgraded from ag-grid 26 to 29.0. gridApi.exportMultipleSheetsAsExcel method only populates the first sheet. The other sheets show no data - ag-grid-angular

Recently upgraded from ag-grid 26 to 29.0.
I'm using Angular 14 with this grid version 29.00
The function griApi.exportMultipleSheetsAsExcel({data: mySheets}) is now only populating the first sheet.
Not sure if there is any new file to import.
Please assist!
I imported:
ExcelExportModule from #ag-grid-enterprise/excel-export
ExcelExportParams, GridApi from #ag-grid-community/core
etc...bug
When I walked through and executed the code in debug mode in both versions, I noticed for 26 the exportMultipleSheetsAsExcel execution takes me to a GridApi.prototype.exportMultipleSheetsAsExcel function. Then there is a check for modules_moduleRegistry_WEBPACK_IMPORTED_MODULE_7. etc.....
return this.excelCreator.exportMultipleSheetsAsExcel(params);
ag-grid 29.00 doesn't take me there. Please suggest a path forward.

Related

Apps Script - some run, some don't

So I have a code that pulls NBA prop bets - I have a code that runs for rebounds, points and assists. It is supposed to load into the spreadsheet in each individual tab. When the code was first created, it ran fine. Now, only the rebounds code runs... the points or assists tab does not.
I'm not sure why 2 of the 3 are not running. *** Disclaimer - I am not very good at coding, kind of trying to self teaching, so I'm sorry if its a dumb question. ***
Here is the link: https://docs.google.com/spreadsheets/d/12qWi9cRoKMFLpAPhQ31p6sETXI4LvQ3-zXF5RBO8i4w/edit?usp=sharing
It is because you are using the same function name across all your 3 functions. This is causing the confusion on the apps script, even though they are in different .gs files you can't have the same function name. What you can do is rename these 3 functions then call them all in one function:
function SPORTBOOK(){
SPORTBOOKAssists();
SPORTBOOKPoints();
SPORTBOOKRebound();
}
Or another approach is, since your codes are repetitive you can just put them all in one function where you are changing the URL or have the 3 URLS and 3 sheets created in one function before setting the values to the sheet.

Angular 2 Reference Google Maps Type Definition

I'm trying to use The Definitely Typed Angular 2 typings file in my angular 2.
I have the following at the top of my component.
/// <reference path="libs/angular2-google-maps/google.maps.d.ts"/>
Which is the correct route to the file.
But further down the file I have things like
var circle = new google.maps.Circle(<any>{
...
And it's giving me errors on compiling saying
.....component.ts(56,24): error TS2304: Build:Cannot find name 'google'.
This had been allowing me to ignore the typescript errors 5 minutes ago and run my project anyway, and the google maps worked fine. But now (6pm friday of course) I can't get the project to build.
Can anybody suggest a fix or a workaround?
I will happily ignore this typescript error until Monday if anybody can tell me how?

cannot stop Chrome from updating from 43 to 44

I am using Selenium and Chrome to write a web test, yesterday my Chrome updated to 44 and now my test does not work, I know that it is an issue with Chrome 44 and we need to wait till the new version is given out.
So I am trying to go bake to chrome 43, i do:
1) Uninstall chrome 44
2) Install chrome 43
but as soon as the installation is done it automatically opens the chrome and it is 44 again !! I went to Run->Service.msc and disabled my chrome to update automatically, but it does not work. I remove the Update folder in User->Myname->AppData->Local->Google->Update but it does not work,
and there is nothing related to updating at chrome://plugins.
I AM STUCK
PLEASE HELP :(
I did all sulosion posted on line but non of them worked,
Have spent a loooong time trying to disable updates (literally hours, reading forums and testing various (some exotic) solutions), and this was driving me crazy. But there what seems an infallible solution (see further down).
Even using the official Google page with the templates did NOTHING : https://support.google.com/installer/answer/146164?hl=en
I followed scrupulously the instructions of that page, the keys in the registry are all correct, but still going to the "About Google Chrome" when the program is opened, I can see the wheel going around and a few seconds later the update is forced and done.
I have tried using the standalone installer of Google, on a Windows 8.1 machine 64Bits - and yes all the keys are set to :
Dword: AutoUpdateCheckPeriodMinutes Value: 0
Dword: DisableAutoUpdateChecksCheckboxValue Value: 1
Dword: UpdateDefault Value: 0
Dword: Update{8A69D345-D564-463C-AFF1-A69D9E530F96} Value: 0
... both in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Update AND HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Google\Update since it is a 64-bit machine.
So the radical solution to prevent the auto-update, if that helps anyone, is to just purely sort the program responsible for the updates itself! (Just deleting it, OR saving a copy, OR renaming it OR even better just in case I one day need to do an update: Zip the content for future potential re-use).
Easy solution :
1- Go to "C:\Program Files (x86)\Google\ and find the folder "update".
2- There are a couple of options to choose from:
A) first method: Rename the folder:
- Right click > Rename > from Update.bak to Update2.bak for example.
- Now launch Chrome: NO MORE UPDATES!! since it can not find the update program !! Finished.
B) second method: Zip the folder:
- Zip the entire folder by making an archive. (Right click the "Update" folder > Send to Compressed (zip) folder)
- A window might ask you to backup/zip and place it on the desktop, click yes. (message: Windows cannot create the compressed folders here. Do you want to be placed on the desktop instead?)
- Move the newly created zip file to the original location. A new window security might pop up > click continue. (message: You need administrator permission to copy this file). [This will be what to unzip if one day you decide to update Chrome - Just remember that when unzipped it will have the following structure : Update > Update > then all the content of the folder. Remember to move everything from inside the second update folder (copy paste) one level up so that is becomes : Update > then all the content of the folder].
- Now that you have a copy just delete the "Update" folder.
- Now launch Chrome: NO MORE UPDATES!! since it can not find the update program !! Finished.
Good luck and Enjoy.
As per Chromium
Turning off Auto-Updates on Windows
To turn off auto-updates of Google Chrome on Windows, you need to instruct Google Update to not update it. To do this, you can either:
Use the Google Update ADM templates provided on this page or as described in this article.
Set the value of
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Update\AutoUpdateCheckPeriodMinutes
to the REG_DWORD value of "0".
You can check for Mac and Linux in the first Link
To get rid of Chrome 44 and go back to 43 I downloaded a stand-alone version of chrome 43 which is an .exe file and I just double clicked on it and it was installed on my computer WITHOUT updating to Chrome 44, to find the link to Chrome 43 have a look to RobW comments to my question above and if the link is stale you can just Google for Chrome Stand-alone, or go to the bottom of this page Google Chrome 64-bit Offline Installer| 45.7 MB.
Have Fun :)

SSIS package not writing to Excel

Having a bit of an issue with SSIS today. I've got a package that exports data from 4 tables and puts the data into 4 tabs on a spreadsheet. Each export has been set up as it's own data flow task. The package runs without any issues and for each data flow task it says that it is writing rows. An example is:
[SSIS.Pipeline] Information: "Destination - Dev$" wrote 1789 rows.
[SSIS.Pipeline] Information: "Destination 1 - DevC$" wrote 1945 rows.
[SSIS.Pipeline] Information: "Destination 2 - Site$" wrote 1839 rows.
[SSIS.Pipeline] Information: "Destination 3 - DecomDev" wrote 4 rows.
Only 1 of tabs has any data in it even though it's saying that it's written rows. The only warning I'm getting is:
[SSIS.Pipeline] Warning: Warning: Could not open global shared memory to communicate
with performance DLL; data flow performance counters are not available. To resolve,
run this package as an administrator, or on the system's console.
Which is only showing for 1 of the tasks (the one that is actually exporting data.
Anyone got any ideas? Not sure if it helps but I'm using SQL Server 2012, Visual Studio 2012 and Excel 2007
Hope you can help.
Thanks
Alex
Never mind, I got it sorted... The sheet tabs hadn't been cleared out properly by the last person to run the extract. So it was inserting the data, but it was starting at the end of sheet (line 7K).
At least it's working!
Thanks anyway.
Alex

Unable to view tabs except the current one in Sugar Pro 6.3.0 after changing tab order

I am using Sugar 6.3.0 and have got an error when i have changed the tab order from
Admin -> Display Module Tabs and Subpanels
I only see the current tab on my web page and all other tabs are not visible to me and the screen also displays the following errors
Warning: Invalid argument supplied for foreach() in var/www/workspace/clientname/modules/MySettings/TabController.php on line 71 Warning: in_array() expects parameter 2 to be array, null given in /var/www/workspace/clientname/include/GroupedTabs/GroupedTabStructure.php on line 77 Warning: array_merge(): Argument #1 is not an array in /var/www/workspace/clientname/include/GroupedTabs/GroupedTabStructure.php on line 93 Warning: Invalid argument supplied for foreach() in /var/www/workspace/clientname/include/GroupedTabs/GroupedTabStructure.php on line 110
I can change the tab by changing the ?module=MODULENAME in the url if for example i set ?module=Accounts i can see the Accounts tab but only and only Accounts tab all the other tabs are gone.
Any idea what i am doing wrong and how to resolve it?
Any help will be appreciated!
I think you have done modifications to module through module builder and redeployed it.This is not the correct way.We need to do modifications through studio only.
Try to do repair through repair wizard or otherwise use backup.There is any other solution i think.I have tried a lot.
After all we have found the solution for resolving this problem in Sugar Pro 6.3.0 What we have to do is rename or delete the file named SaveTabs.php present in the modules/Administration folder after that make a repair and then reorder the tabs and save it. Hope it will work fine at least for us it is working perfectly!