분류 전체보기(865)
-
Sencha TreeGrid 서버 통신 샘플
const store = Ext.create('Ext.data.TreeStore', { fields: ['id', 'name', 'location'], root: { expanded: true, children: [ { id: 1, name: '거실', location: '', expanded: true, children: [ { id: 11, name: 'Jane Doe', location: 'jane.doe@example.com', leaf: true }, ..
2024.12.01 -
PostgreSQL 시퀀스 만들기
문법CREATE SEQUENCE sequence_name [ INCREMENT BY increment ] [ MINVALUE minvalue | NO MINVALUE ] [ MAXVALUE maxvalue | NO MAXVALUE ] [ START WITH start ] [ CACHE cache_size ] [ [ NO ] CYCLE ];샘플CREATE SEQUENCE my_sequence START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1;CREATE SEQUENCE limited_sequence START WITH 1000 INCREMENT BY 5 MINVALUE 100..
2024.12.01 -
HTML 한글깨짐 2024.12.01
-
Sencha Grid 샘플
const store = Ext.create('Ext.data.Store', { storeId: 'store', // Unique ID for the store fields: ['id', 'name', 'data'], // Define fields data: [ // Sample data { id: 1, name: 'A', data: '' }, { id: 2, name: 'B', data: '' }, { id: 3, name: 'C', data: '' }, { id: 3, name: 'D', data: '' }, ], proxy: { type: 'memory', // Use memory proxy for local ..
2024.12.01 -
Sencha TreeGrid 샘플
const store = Ext.create('Ext.data.TreeStore', { fields: ['id', 'name', 'location'], root: { expanded: true, children: [ { id: 1, name: '거실', location: '', expanded: true, children: [ { id: 11, name: 'Jane Doe', ..
2024.12.01 -
Javascript json 데이터 예쁘게 출력하기
원본 데이터[ { id: 1, name: 'John Doe', email: 'john.doe@example.com', age: 31 }, { id: 2, name: 'Jane Smith', email: 'jane.smith@example.com', age: 26 }]적용JSON.stringify(value, replacer, space)alert(`Saved ${changes.length} records:\n${JSON.stringify(changes, null, 4)}`);결과[ { "id": 1, "name": "John Doe", "email": "john.doe@example.com", "age": 31 }, { ..
2024.12.01