public string getRowBackgroundColor();
Row의 백그라운드 색상을 리턴한다.
- 파라미터
- 리턴값
백그라운드 색상
- 상세설명
- 예제
mObjDataGrid = document.getElementById("slDataGrid").Content.EntryPoint; var strColor = mObjDataGrid.getRowBackgroundColor();
IT 기술 정보 공유 블로그
public string getRowBackgroundColor();
Row의 백그라운드 색상을 리턴한다.
백그라운드 색상
mObjDataGrid = document.getElementById("slDataGrid").Content.EntryPoint; var strColor = mObjDataGrid.getRowBackgroundColor();
public void setRowBackgroundColor(string strRowBackgroundColor);
Row의 백그라운드 색상을 설정한다.
string strRowBackgroundColor 백그라운드 색상
mObjDataGrid = document.getElementById("slDataGrid").Content.EntryPoint; mObjDataGrid.setRowBackgroundColor("#FF0000");
public bool getIsUseKeyEvent();
키보드 이벤트 사용여부를 리턴한다
사용여부
mObjDataGrid = document.getElementById("slDataGrid").Content.EntryPoint; var isUseKeyEvent = mObjDataGrid.setIsUseKeyEvent();
public void setIsUseKeyEvent(bool booIsUseKeyEvent);
키보드 이벤트 사용여부를 설정한다.
bool booIsUseKeyEvent 사용여부
사용시, 키보드의 Insert키를 눌러 Row를 추가, Delete키를 눌러 Row를 삭제 할수 있다.
mObjDataGrid = document.getElementById("slDataGrid").Content.EntryPoint; mObjDataGrid.setIsUseKeyEvent(true);
public bool getIsReadOnly();
그리드의 상태를 읽기전용으로 할지에 대한 여부를 리턴한다.
읽기전용여부
mObjDataGrid = document.getElementById("slDataGrid").Content.EntryPoint; var isReadonly = mObjDataGrid.getIsReadOnly();
public void setIsReadOnly(bool booReadOnly);
그리드의 상태를 읽기전용으로 할지에 대한 여부를 설정한다.
bool booReadOnly 읽기전용여부
mObjDataGrid = document.getElementById("slDataGrid").Content.EntryPoint; mObjDataGrid.setIsReadOnly(true);
public bool getIsBindHtmlControl();
그리드에 Html Control을 바인딩할지에 대한 여부를 리턴한다.
갯수
mObjDataGrid = document.getElementById("slDataGrid").Content.EntryPoint; var isBinding = mObjDataGrid.getIsBindHtmlControl();
public void setIsBindHtmlControl(bool boolBindHtmlControl);
그리드에 Html Control을 바인딩할지에 대한 여부를 설정한다.
bool boolBindHtmlControl 바인딩여부
mObjDataGrid = document.getElementById("slDataGrid").Content.EntryPoint; mObjDataGrid.setIsBindHtmlControl(true);
public int getRowCount();
그리드의 Row의 갯수를 리턴한다.
갯수
mObjDataGrid = document.getElementById("slDataGrid").Content.EntryPoint; var intCount = mObjDataGrid.getRowCount();
public int getSelectedKey();
그리드의 Selected Key를 리턴한다.
선택된키
mObjDataGrid = document.getElementById("slDataGrid").Content.EntryPoint; var intKey = mObjDataGrid.getSelectedKey();