[NEXACRO 17] Maskformat 개행을 포함할때 202204210900으로 된 값을 2022.04.22 (개행) 09:00 으로 한셀에서 개행포함하여 나타나게 하고싶었다. 속성중 maskeditformat을 "####.##.##" + String.fromCharCode(10) + "##:##" mask사이에 개행문자코드를 넣어주면 간단히 해결. IT/Nexacro 17 2022.04.22
[NEXACRO 17] 엔터키로 클릭 이벤트를 발생 시키고 싶을 때 this.DivCondition_EditTaskName_onkeyup = function(obj:nexacro.Edit,e:naxacro.KeyEventInfo) { if(e.keycode==13) { this.DivCondition.form.btnSearch.click(); } } Enter 의 키코드는 13이다. keycode를 활용한 다양한 이벤트들도 가능하다. IT/Nexacro 17 2022.04.14
Nexacro 17 Grid row height 자동 조정 Gird의 바디 셀이 textarea일 경우 textarea의 내용에 따라 자동으로 row height가 조정되게 설정 - Grid.속성 : autosizingtype = row extendsizetype = row -로우의 높이가 자동 조절될때 각 row 별로 따로 조절됨 - Grid.Cell 속성 : edittype = textarea wordWrap = char textareascrolltype = vertical autosizerow = limitmin (text가 한줄일 경우 height의 최소 size 처리) *textareaacceptsenter = true 로 설정하면 textarea에서 enter키 입력시 셀이 넘어가지않고 그 안에서 개행이 일어난다. IT/Nexacro 17 2022.04.13