commit(3)
-
Sencha grid에 record 추가 후에 변경상태로 설정하기
record의 아무 셀이나 값을 변경하면, changed로 상태가 바뀜상태를 강제로 적용하려면, commit()을 호출success: function(response) { const data = Ext.decode(response.responseText); const store = gridImage.getStore(); store.loadData(data); if(draggedData) { // Add the dragged records to the store const addRecord = store.add(draggedData) addRecord.map(record => { const groupId = record.get(..
2025.01.26 -
Sencha grid 특정 컬럼만 commit해야 하는 경우
selection.commit(false, ['age']);처럼 원하는 컬러만 commit 처리함Ext.create('Ext.grid.Panel', { title: 'Editable Grid Example', renderTo: Ext.getBody(), width: 600, height: 400, store: { fields: ['id', 'name', 'age'], data: [ { id: 1, name: 'John Doe', age: 30 }, { id: 2, name: 'Jane Doe', age: 25 } ] }, columns: [ { text: 'ID', dataInd..
2024.12.28 -
TortosiseSVN update/commit
SVN update : SVN 저장소에서 로컬PC로 파일들을 가져오는 명령 SVN commit : 로컬PC의 파일들을 SVN 저장소로 보내는 명령
2021.04.18