전체 글57 어렵네 보호되어 있는 글 입니다. 2024. 8. 29. Vue3 ) script setup 내가 Pinia를 Vue3의 script setup으로 사용할 때, 쓰는 법 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 // store.js import { defineStore } from 'pinia'; import { ref } from 'vue'; export const useStore = defineStore('store', () => { const count = ref(0); const increase = (n = 1) => { count.value += n; }; const reset = () => { count.value = 0; }; return { count, increase, reset }; }); Colored by Color Scripter cs chrome의.. 2023. 3. 28. DevExtreme) DxDataGrid Merge Function Explain mergeColums : 병합하고 싶은 colum의 index를 조건으로 줍니다. 1. 해당 예시에서는 “col1” 을 우선 병합하고, 2. col1 + col4가 동일한 "col4"를 병합, 3. col1 + col2 + col4 가 일치하는 "col2"가 있다면 병합합니다. 우선순위 : col1[0], col4[3], col2[1] @cell-prepared="(...args) => onCellPrepared(...args, mergeColums)" 기본적인 함수 형태는 @cell-prepared="onCellPrepared"입니다. 파라미터로 해당 cell의 정보를 받아옵니다. 병합조건에 추가 하고 싶지만 병합을 원하지 않는 cell이 있을 경우, 병합을 원하는 column에 allo.. 2023. 3. 27. 근황 요즘은 공부를 전혀 안하고 있다 충격! 아니면 올해 1월에 다녀온 제주도 여행기 라도 적어볼까 싶었는데 안하고 있다 충격! 또 충격! 최고로 게으르게 살고 있는 중 2023. 2. 19. 이전 1 2 3 4 ··· 15 다음