728x90
반응형
SMALL

 

 

<Grid oncellclick="grd_oncellclick">
 <Formats>
  <Format id="default">
   <Columns>
    <Column size="80"/>
    <Column size="100"/>
    <Column size="80"/>
   </Columns>
   <Rows>
    <Row size="30" band="head"/>
    <Row size="30" band="head"/>
    <Row size="30"/>
   </Rows>
   <Band id="head">
    <Cell rowspan="2" text="Date"/>
    <Cell col="1" rowspan="2" text="A"/>
    <Cell col="2" rowspan="2" text="T"/>
   </Band>
   <Band id="body">
    <Cell textAlign="center" text="1" edittype="text"/>
    <Cell col="1" textAlign="center" text="2" edittype="text"/>
    <Cell col="2" textAlign="center" text="3" edittype="text" cssclass="last"/>
   </Band>
  </Format>
 </Formats>
</Grid>
 

cell에서 edittype을 원하는 타입으로 적용

 

    obj.setCellPos(e.cell)
    obj.showEditor(true)
    var cellText = obj.getCellText(e.row,e.cell)
    if (cellText != null && cellText.length > 0) {
        obj.setEditSelect(cellText.length, cellText.length)
    }
 
 
728x90
반응형
LIST

'개발' 카테고리의 다른 글

[Nexacro][Grid] Dataset 중복체크  (0) 2024.06.04
[Nexacro][Grid] cell edittype 변경  (0) 2024.06.04
[ios] FirebaseApp.configure()  (0) 2023.10.25
[ios] FirebaseAppDelegateProxyEnabled  (0) 2023.10.25
[react-native][ios] webview 디버깅  (1) 2023.10.05

+ Recent posts