반응형

전체 글 91

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

넥사크로 화면 출력, 프린트

Nexa 17 에서 system.print를 사용해 프린트를 하고싶은데 화면에 보이는 부분만 출력하고 스크롤 아래 내용은 출력을 하지 못했다. 조회된 그리드나 화면의 내용을 모두 출력하고 싶을땐 this.DivFailureReport.set_height("1500px"); this.DivFailureReport.set_width("1100px"); 이런식으로 화면크기를 늘려주고 system.print(this.DivFailureReport,false,"middle","left",true,"landscape"); 프린트후 다시 화면 크기를 원상복구 해주는 식으로 해결했다.

IT/Nexacro 17 2022.04.12
반응형