Toss > ui > Grid

Tossware Platform API Guide



getCellValue



지정된 셀의 값을 리턴한다.


string or float getCellValue( int row, string colId )

Parameters

Name Type Required Default Value Allowable Value Description
row int required N/A 숫자 행 번호
colId string required N/A 영문숫자 컬럼 id


Return

Type Description
string or float 셀의 값


Sample Code



...
<ui:grid id="grid" height="725" frozenColCount="4">
	 <ui:column id="check" dataType="checkbox" header="√" width="25" enableStatus="false" />
	 <ui:column id="cd" dataType="mask" header="코드" name="코드" format="AA999" required="true" align="center" width="60" editable="false" />
	 <ui:column id="cdnm" dataType="text" header="코드명" name="코드명" required="true" width="100" maxLength="25" footer="합계" />
</ui:grid>