답변:
파일> 웹에 게시로 이동 한 다음 "게시 된 데이터에 대한 링크 가져 오기"에서 "웹 페이지"를 선택한 다음 게시하려는 시트를 선택하십시오. 그런 다음 표시하려는 셀을 선택하십시오. 그런 다음 생성 된 링크를 복사하십시오.
공유 옵션으로 재생해야 할 수도 있습니다 (예 : 링크가있는 모든 사람이 편집 할 수 있음).
예, 구글이 이것을 구현하지 않는 것은 너무 나쁩니다. 난 그냥이 목적을 위해 함께 약간의 자바 스크립트 북마크를 넣어 여기 . 한 번 클릭하면 CSS 스타일이 삽입되어 헤더를 숨기고 다시 클릭하면 CSS가 제거되고 다시 표시됩니다.
javascript:(function(){var hidecss = "body { margin-left: -45px;margin-top: -47px; } div.grid-table-container { width: 100%!important; }div.native-scrollbar.native-scrollbar-ltr.native-scrollbar-y { left:initial !important; right: 0px; }div.goog-inline-block.grid4-inner-container { width: 100% !important;}"; if (document.querySelector('#hidecss')===null){ var hidescript =document.createElement('style'); hidescript.type = 'text/css';hidescript.id = 'hidecss'; hidescript.innerHTML = hidecss;document.head.appendChild(hidescript); } elsedocument.getElementById('hidecss').remove();})();
다른 화면 크기로 조정해야 할 수도 있지만 그 핵심입니다!
형식화 된 JS 편집 :
var hidecss = "body { margin-left: -45px; margin-top: -47px; } div.grid-table-container { width: 100% !important; } div.native-scrollbar.native-scrollbar-ltr.native-scrollbar-y { left: initial !important; right: 0px; } div.goog-inline-block.grid4-inner-container { width: 100% !important; }";
if (document.querySelector('#hidecss')===null){
var hidescript = document.createElement('style');
hidescript.type = 'text/css';
hidescript.id = 'hidecss';
hidescript.innerHTML = hidecss;
document.head.appendChild(hidescript);
}
else document.getElementById('hidecss').remove();
Google은 이와 같이 사용자 수정과 함께 잘 작동하는 웹 응용 프로그램을 만들지 않기 때문에 추악한 해킹입니다. 나는 그것을 사용하지 않기로 끝났다.
Google 스프레드 시트 스프레드 시트보기에서는 불가능합니다.
한 가지 대안은 웹에 게시하는 것입니다. headers 매개 변수를 사용하여 헤더를 표시하거나 숨길 수 있습니다. 생략하면 헤더를 숨기고 headers=true표시하고 headers=false숨길 때 사용 합니다 .
예:
(고유 파일 ID는로 대체되었습니다 ...)
https://docs.google.com/spreadsheets/d/e/.../pubhtml?headers=false
참고 문헌
Google 문서 편집기 공식 도움말 포럼에서
행 머리글 및 열 번호 숨기기 (2015)