'2019/05'에 해당되는 글 2건

  1. 2019.05.03 Nexacro.component Tip 2
  2. 2019.05.03 Nexacro.Grid - 간단 Tip 목록

 

// 마지막 컴포넌트 데이터셋 업데이트

// 아래 script는 frame이 존재하면서, MDI 에서  화면 [x] 닫기 버튼을 클릭 시 활용

this.objApp = this.gfn_getApplication();

 

var curComp = this.objApp.av_FrameWork[sFormId].form.getFocus();
if (this.gfn_isNotNull(curComp)) {
   if (curComp instanceof nexacro.Calendar
      || curComp instanceof nexacro.Combo
      || curComp instanceof nexacro.Edit
      || curComp instanceof nexacro.Grid
      || curComp instanceof nexacro.ListBox
      || curComp instanceof nexacro.MaskEdit
      || curComp instanceof nexacro.Radio
      || curComp instanceof nexacro.Spin
      || curComp instanceof nexacro.TextArea) {
      curComp.updateToDataset();
    }
}

 

var pForm  = nexacro.Form.prototype;

pForm.gfn_getApplication = function()
{
var objApp = nexacro.getApplication();
return objApp;
}

Posted by 농부지기
,

1. Grid.각 Row별 Height 자동 조정 (값에 따라서 Height자동 조정)

    - Grid.속성 : autosizingtype = row

                    cellsizingtype   = none

                    extendsizetype = row

    - Grid.Cell 속성 : display = textareacontrol

                          edittype = textarea

                          wordWrap = char

                          textareascrolltype = vertical

                          autosizerow = limitmin   (text가 한줄일 경우 height의 최소 size 처리 속성)

 

 

 

 

 

'Nexacro-Grid > Grid' 카테고리의 다른 글

Nexacro.Grid - cell 좌표  (3) 2018.01.16
Nexacro-Grid. format  (0) 2017.08.18
nexacro.Grid cell drag & drop  (0) 2017.03.30
Grid.sort 개발중  (0) 2017.02.24
Nexacro Grid - 한컬럼에 여러줄 보여주기  (0) 2017.01.22
Posted by 농부지기
,