We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm stucked with a gsheets i want to update because there are some rows and columns frozen.
I found this:
await worksheet.updateProperties({ gridProperties: { frozenColumnCount: 0, frozenRowCount: 0, } });
and it's "shorthand"
await worksheet.updateGridProperties({ frozenColumnCount: 0, frozenRowCount: 0, });
But in the two cases, it still say that i can't delete row frozen.
The text was updated successfully, but these errors were encountered:
Ok, i found the problem, it's inside updateProperties method. It generates this call:
updateProperties
await worksheet._makeSingleUpdateRequest('updateSheetProperties', { properties: { sheetId, gridProperties: { frozenColumnCount: 0, frozenRowCount: 0, }, }, fields: 'gridProperties', });
when it should do this:
await worksheet._makeSingleUpdateRequest('updateSheetProperties', { properties: { sheetId, gridProperties: { frozenColumnCount: 0, frozenRowCount: 0, }, }, - fields: 'gridProperties', + fields: 'gridProperties.frozenColumnCount,gridProperties.frozenRowCount', });
Fields is not able to get the correct path of fields. Could be a good subject of PR
Sorry, something went wrong.
No branches or pull requests
I'm stucked with a gsheets i want to update because there are some rows and columns frozen.
I found this:
and it's "shorthand"
But in the two cases, it still say that i can't delete row frozen.
The text was updated successfully, but these errors were encountered: