전체 글(809)
-
Sencha index.html 간단하게 만들기
index.html: app.js를 호출 app.jsApplication.js를 호출mainView 지정Ext.application({ extend: 'Home.Application', name: 'Home', requires: [ // This will automatically load all classes in the Home namespace // so that application classes do not need to require each other. 'Home.*' ], // The name of the initial view to create. mainView: 'Home.view.main.Main'});Applicat..
2024.12.15 -
Sencha charts 패키지 사용하기
생성한 charts 패키지를 붙여넣기index.htmlTest.jsExt.onReady(function () { var drawContainer = Ext.create('Ext.draw.Container', { renderTo: Ext.getBody(), // Render to the body of the HTML width: 200, // Width of the container height: 200, // Height of the container sprites: [ { type: 'circle', // Circle sprite type ..
2024.12.14 -
Windows 11 새로 만들기에 메모장(notepad)이 없어졌을 때
참조: https://blog.naver.com/techshare/223252043111 윈도우 탐색기의 "새로 만들기" 메뉴에 "텍스트 문서" 항목이 없는 경우 - 두 번째 이야기예전 글과 동일한 상황이지만, 윈도우 탐색기의 "새로 만들기" 메뉴에 "텍스트 문서" ...blog.naver.comWin + rregeditHKEY_CLASSES_ROOT에서 /.txt 찾기.txt에서 새로 만들기 > 키ShellNew 입력ShellNew에서 새로 만들기 > 이진값NullFile 입력
2024.12.14 -
Sencha panel안에 grid 2개를 수평으로 꽉꽉 채우기
layout: 'hbox'로 수평으로 grid 집어 넣기flex: 1로 width를 꽉꽉 채우기height: '100%'로 height를 꽉꽉 채우기Ext.application({ name: 'FullScreenGrids', launch: function () { Ext.create('Ext.container.Viewport', { layout: 'hbox', // Horizontal layout for grids items: [ { xtype: 'grid', title: 'Grid 1', flex: 1, // Gr..
2024.12.13 -
Sencha grid 변경 플래그 제거하기
Grid 변경 플래그 제거하기grid.getStore().each(record => { record.commit(); // Resets the dirty state});
2024.12.13 -
Javascript array 복사하기
const seriesOrigin = [].concat(chart.getSeries()); // Wrap in an array if not already const seriesClone = seriesOrigin.map(series => Ext.clone(series.getInitialConfig()));
2024.12.13