Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <script>
	var RightTechPath="https://support.qcell.kr/";
</script>
<script  type="text/javascript" src="https://support.qcell.kr/QCELL/qcell.js"></script>
<link href="https://support.qcell.kr/QCELL/css/styles.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="https://support.qcell.kr/QCELL/theme/fall/css/fall.css">


	<div class="row" >
				<div class="col-lg-2" style="width: 180px;">
					<button class="btn btn-outline-secondary " type="button" onclick="qcell1.setFrozenRows(5);">고정행을 새로 설정</button><br><br>
				</div>
				<div class="col-lg-2" style="width: 200px;">
					<button class="btn btn-outline-secondary " type="button" onclick="alert(qcell1.getFrozenRows());">고정행의 인덱스 반환</button><br><br>
				</div>	
				<div class="col-lg-2" style="width: 180px;">
					<button class="btn btn-outline-secondary " type="button"  onclick="qcell1.setFrozenCols(5);">고정열을 새로 설정</button><br><br>
				</div>
				<div class="col-lg-2" style="width: 200px;">
					<button class="btn btn-outline-secondary " type="button"  onclick="alert(qcell1.getFrozenCols());">고정열의 인덱스 반환</button><br><br>
				</div>	
				<div class="col-lg-2" style="width: 220px;">
					<button class="btn btn-outline-secondary " type="button"  onclick="qcell1.setFrozenBottomRows(5);">하단 고정행을 새로 설정</button><br><br>
				</div>	
				<div class="col-lg-2" style="width: 250px;">
					<button class="btn btn-outline-secondary " type="button"  onclick="alert(qcell1.getFrozenBottomRows());">하단 고정행의 인덱스를 반환</button><br><br>
				</div>							
			</div>		
			<div id="sheetarea" style="width: 100%; height: 750px;"></div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
data = [{"period":2016,"district":"합계","all_total":"1,723","national_total":999,"national_treeasure":164,"national_jewel":673,"national_historic":70,"national_natural":12,"national_folk":41,"nationa_intangiblel_cultural":39,"si_total":478,"si_tangible_cultural":364,"si_remembrancer":38,"si_folk":30,"si_intangiblel_cultural":46,"cultural_data":61,"registered_cultural":185},{"period":2016,"district":"종로구","all_total":413,"national_total":198,"national_treeasure":13,"national_jewel":137,"national_historic":24,"national_natural":9,"national_folk":9,"nationa_intangiblel_cultural":6,"si_total":141,"si_tangible_cultural":115,"si_remembrancer":6,"si_folk":14,"si_intangiblel_cultural":6,"cultural_data":24,"registered_cultural":50},{"period":2016,"district":"중구","all_total":110,"national_total":66,"national_treeasure":8,"national_jewel":50,"national_historic":8,"national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":"-","si_total":28,"si_tangible_cultural":12,"si_remembrancer":8,"si_folk":7,"si_intangiblel_cultural":1,"cultural_data":2,"registered_cultural":14},{"period":2016,"district":"용산구","all_total":379,"national_total":355,"national_treeasure":97,"national_jewel":249,"national_historic":2,"national_natural":"-","national_folk":6,"nationa_intangiblel_cultural":1,"si_total":6,"si_tangible_cultural":3,"si_remembrancer":1,"si_folk":1,"si_intangiblel_cultural":1,"cultural_data":"-","registered_cultural":18},{"period":2016,"district":"성동구","all_total":4,"national_total":2,"national_treeasure":"-","national_jewel":2,"national_historic":"-","national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":"-","si_total":1,"si_tangible_cultural":1,"si_remembrancer":"-","si_folk":"-","si_intangiblel_cultural":"-","cultural_data":"-","registered_cultural":1},{"period":2016,"district":"광진구","all_total":31,"national_total":21,"national_treeasure":1,"national_jewel":3,"national_historic":1,"national_natural":"-","national_folk":16,"nationa_intangiblel_cultural":"-","si_total":7,"si_tangible_cultural":3,"si_remembrancer":1,"si_folk":1,"si_intangiblel_cultural":2,"cultural_data":"-","registered_cultural":3},{"period":2016,"district":"동대문구","all_total":22,"national_total":11,"national_treeasure":"-","national_jewel":6,"national_historic":2,"national_natural":1,"national_folk":"-","nationa_intangiblel_cultural":2,"si_total":7,"si_tangible_cultural":7,"si_remembrancer":"-","si_folk":"-","si_intangiblel_cultural":"-","cultural_data":1,"registered_cultural":3},{"period":2016,"district":"중랑구","all_total":7,"national_total":1,"national_treeasure":"-","national_jewel":1,"national_historic":"-","national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":"-","si_total":6,"si_tangible_cultural":4,"si_remembrancer":1,"si_folk":"-","si_intangiblel_cultural":1,"cultural_data":"-","registered_cultural":"-"},{"period":2016,"district":"성북구","all_total":135,"national_total":58,"national_treeasure":16,"national_jewel":30,"national_historic":6,"national_natural":"-","national_folk":2,"nationa_intangiblel_cultural":4,"si_total":51,"si_tangible_cultural":44,"si_remembrancer":1,"si_folk":4,"si_intangiblel_cultural":2,"cultural_data":8,"registered_cultural":18},{"period":2016,"district":"강북구","all_total":28,"national_total":2,"national_treeasure":"-","national_jewel":2,"national_historic":"-","national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":"-","si_total":18,"si_tangible_cultural":16,"si_remembrancer":1,"si_folk":"-","si_intangiblel_cultural":1,"cultural_data":1,"registered_cultural":7},{"period":2016,"district":"도봉구","all_total":17,"national_total":1,"national_treeasure":"-","national_jewel":"-","national_historic":1,"national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":"-","si_total":14,"si_tangible_cultural":7,"si_remembrancer":4,"si_folk":"-","si_intangiblel_cultural":3,"cultural_data":1,"registered_cultural":1},{"period":2016,"district":"노원구","all_total":46,"national_total":7,"national_treeasure":"-","national_jewel":6,"national_historic":1,"national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":"-","si_total":22,"si_tangible_cultural":19,"si_remembrancer":1,"si_folk":1,"si_intangiblel_cultural":1,"cultural_data":4,"registered_cultural":13},{"period":2016,"district":"은평구","all_total":39,"national_total":7,"national_treeasure":"-","national_jewel":4,"national_historic":"-","national_natural":"-","national_folk":1,"nationa_intangiblel_cultural":2,"si_total":24,"si_tangible_cultural":18,"si_remembrancer":4,"si_folk":"-","si_intangiblel_cultural":2,"cultural_data":7,"registered_cultural":1},{"period":2016,"district":"서대문구","all_total":111,"national_total":64,"national_treeasure":4,"national_jewel":49,"national_historic":6,"national_natural":"-","national_folk":4,"nationa_intangiblel_cultural":1,"si_total":23,"si_tangible_cultural":21,"si_remembrancer":1,"si_folk":"-","si_intangiblel_cultural":1,"cultural_data":"-","registered_cultural":24},{"period":2016,"district":"마포구","all_total":15,"national_total":7,"national_treeasure":"-","national_jewel":3,"national_historic":1,"national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":3,"si_total":4,"si_tangible_cultural":1,"si_remembrancer":1,"si_folk":1,"si_intangiblel_cultural":1,"cultural_data":"-","registered_cultural":4},{"period":2016,"district":"양천구","all_total":5,"national_total":2,"national_treeasure":"-","national_jewel":2,"national_historic":"-","national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":"-","si_total":3,"si_tangible_cultural":"-","si_remembrancer":"-","si_folk":"-","si_intangiblel_cultural":3,"cultural_data":"-","registered_cultural":"-"},{"period":2016,"district":"강서구","all_total":16,"national_total":6,"national_treeasure":"-","national_jewel":4,"national_historic":1,"national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":1,"si_total":8,"si_tangible_cultural":4,"si_remembrancer":2,"si_folk":"-","si_intangiblel_cultural":2,"cultural_data":1,"registered_cultural":1},{"period":2016,"district":"구로구","all_total":2,"national_total":"-","national_treeasure":"-","national_jewel":"-","national_historic":"-","national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":"-","si_total":2,"si_tangible_cultural":1,"si_remembrancer":1,"si_folk":"-","si_intangiblel_cultural":"-","cultural_data":"-","registered_cultural":"-"},{"period":2016,"district":"금천구","all_total":4,"national_total":1,"national_treeasure":"-","national_jewel":"-","national_historic":1,"national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":"-","si_total":1,"si_tangible_cultural":1,"si_remembrancer":"-","si_folk":"-","si_intangiblel_cultural":"-","cultural_data":1,"registered_cultural":1},{"period":2016,"district":"영등포구","all_total":4,"national_total":"-","national_treeasure":"-","national_jewel":"-","national_historic":"-","national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":"-","si_total":1,"si_tangible_cultural":1,"si_remembrancer":"-","si_folk":"-","si_intangiblel_cultural":"-","cultural_data":"-","registered_cultural":3},{"period":2016,"district":"동작구","all_total":41,"national_total":10,"national_treeasure":2,"national_jewel":8,"national_historic":"-","national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":"-","si_total":24,"si_tangible_cultural":21,"si_remembrancer":1,"si_folk":"-","si_intangiblel_cultural":2,"cultural_data":6,"registered_cultural":1},{"period":2016,"district":"관악구","all_total":128,"national_total":106,"national_treeasure":18,"national_jewel":84,"national_historic":2,"national_natural":1,"national_folk":"-","nationa_intangiblel_cultural":1,"si_total":17,"si_tangible_cultural":16,"si_remembrancer":1,"si_folk":"-","si_intangiblel_cultural":"-","cultural_data":"-","registered_cultural":5},{"period":2016,"district":"서초구","all_total":66,"national_total":32,"national_treeasure":3,"national_jewel":23,"national_historic":1,"national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":5,"si_total":26,"si_tangible_cultural":21,"si_remembrancer":2,"si_folk":"-","si_intangiblel_cultural":3,"cultural_data":"-","registered_cultural":8},{"period":2016,"district":"강남구","all_total":59,"national_total":24,"national_treeasure":2,"national_jewel":9,"national_historic":1,"national_natural":"-","national_folk":3,"nationa_intangiblel_cultural":9,"si_total":25,"si_tangible_cultural":23,"si_remembrancer":1,"si_folk":1,"si_intangiblel_cultural":"-","cultural_data":5,"registered_cultural":5},{"period":2016,"district":"송파구","all_total":15,"national_total":9,"national_treeasure":"-","national_jewel":1,"national_historic":5,"national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":3,"si_total":5,"si_tangible_cultural":3,"si_remembrancer":"-","si_folk":"-","si_intangiblel_cultural":2,"cultural_data":"-","registered_cultural":1},{"period":2016,"district":"강동구","all_total":7,"national_total":2,"national_treeasure":"-","national_jewel":"-","national_historic":1,"national_natural":"-","national_folk":"-","nationa_intangiblel_cultural":1,"si_total":3,"si_tangible_cultural":2,"si_remembrancer":"-","si_folk":"-","si_intangiblel_cultural":1,"cultural_data":"-","registered_cultural":2},{"period":2016,"district":"기타","all_total":19,"national_total":7,"national_treeasure":"-","national_jewel":"-","national_historic":6,"national_natural":1,"national_folk":"-","nationa_intangiblel_cultural":"-","si_total":11,"si_tangible_cultural":"-","si_remembrancer":"-","si_folk":"-","si_intangiblel_cultural":11,"cultural_data":"-","registered_cultural":1}];
	
	QBOX.$(document).ready(function(){
		QCELL.create({
			id			: "qcell1",
			parentid	: "sheetarea",
			columns		: [
				{title: ["기간", "기간", "기간", "기간"],								width: "150",	key: "period",							styleclassname: {data: "align-center"}},
				{title: ["자치구", "자치구", "자치구", "자치구"],						width: "150",	key: "district",						styleclassname: {data: "align-center"}},
				{title: ["문화재", "합계", "합계", "합계"],								width: "100",	key: "all_total",						styleclassname: {data: "align-right"}},
				{title: ["문화재", "지정문화재", "국가지정문화재", "합계"],				width: "100",	key: "national_total",					styleclassname: {data: "align-right"}},
				{title: ["문화재", "지정문화재", "국가지정문화재", "국보"],				width: "100",	key: "national_treeasure",				styleclassname: {data: "align-right"}},
				{title: ["문화재", "지정문화재", "국가지정문화재", "보물"],				width: "100",	key: "national_jewel",					styleclassname: {data: "align-right"}},
				{title: ["문화재", "지정문화재", "국가지정문화재", "사적 및 명승"],		width: "100",	key: "national_historic",				styleclassname: {data: "align-right"}},
				{title: ["문화재", "지정문화재", "국가지정문화재", "천연기념물"],		width: "100",	key: "national_natural",				styleclassname: {data: "align-right"}},
				{title: ["문화재", "지정문화재", "국가지정문화재", "중요민속자료"],		width: "100",	key: "national_folk",					styleclassname: {data: "align-right"}},
				{title: ["문화재", "지정문화재", "국가지정문화재", "중요무형문화재"],	width: "100",	key: "nationa_intangiblel_cultural",	styleclassname: {data: "align-right"}},
				{title: ["문화재", "지정문화재", "시지정문화재", "합계"],				width: "100",	key: "si_total",						styleclassname: {data: "align-right"}},
				{title: ["문화재", "지정문화재", "시지정문화재", "유형문화재"],			width: "100",	key: "si_tangible_cultural",			styleclassname: {data: "align-right"}},
				{title: ["문화재", "지정문화재", "시지정문화재", "기념물"],				width: "100",	key: "si_remembrancer",					styleclassname: {data: "align-right"}},
				{title: ["문화재", "지정문화재", "시지정문화재", "민속자료"],			width: "100",	key: "si_folk",							styleclassname: {data: "align-right"}},
				{title: ["문화재", "지정문화재", "시지정문화재", "무형문화재"],			width: "100",	key: "si_intangiblel_cultural",			styleclassname: {data: "align-right"}},
				{title: ["문화재", "지정문화재", "문화재자료", "문화재자료"],			width: "100",	key: "cultural_data",					styleclassname: {data: "align-right"}},
				{title: ["문화재", "등록문화재", "등록문화재", "등록문화재"],			width: "100",	key: "registered_cultural",				styleclassname: {data: "align-right"}}
			],
			merge: {header: "colandrow"},
			data		: {"input":data},
			rowheader	: "sequence",
			frozenrows		: 1,
			frozencols	: 2,						
			frozenbottomrows	: 1
	
		});
		
		qcell1 = QCELL.getInstance("qcell1");
	});
	
	function Merge(type){
		qcell1.merge('viewport',type);
	}

              
            
!
999px

Console