Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
Hello,
I need to disable the button that selects the entire sheet in SpreadSheet. I tried to hide it with CSS but the button remains active.
I have highlighted in yellow the button I am talking about in the screenshot below.
Thanks.
function onSelect(e: any) { const selectedCellorRange = e.range._ref; if (selectedCellorRange.topLeft && selectedCellorRange.bottomRight) { const topLeft = selectedCellorRange.topLeft; const bottomRight = selectedCellorRange.bottomRight; if (bottomRight.row > 0 && bottomRight.col === totalColumns && topLeft.row === 0 && topLeft.col === 0) { selectedCellorRange.topLeft.row = null; selectedCellorRange.topLeft.col = null; selectedCellorRange.bottomRight.row = null; selectedCellorRange.bottomRight.col = null; } } }
function onSelect(e: any) { const selectedCellorRange = e.range._ref; if (selectedCellorRange.topLeft && selectedCellorRange.bottomRight) { const topLeft = selectedCellorRange.topLeft; const bottomRight = selectedCellorRange.bottomRight; if (bottomRight.row > 0 && bottomRight.col === totalColumns && topLeft.row === 0 && topLeft.col === 0) { selectedCellorRange.topLeft.row = null; selectedCellorRange.topLeft.col = null; selectedCellorRange.bottomRight.row = null; selectedCellorRange.bottomRight.col = null; }
} }
Hi Hippolythe,
Thank you for sharing the solution with the community. I believe this will be helpful to others facing the same scenario.
Regards,
Nikolay