Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

그리드 사용자 지정 옵션 질문입니다. #162

Open
v0228ds opened this issue Feb 23, 2021 · 0 comments
Open

그리드 사용자 지정 옵션 질문입니다. #162

v0228ds opened this issue Feb 23, 2021 · 0 comments

Comments

@v0228ds
Copy link

v0228ds commented Feb 23, 2021

, {key: "h", label: "field H", editorUse: true
/, editor:{
type: 'text'
}
/

위와 같이 옵션을 주었습니다.

ax5grid.js > repaintBody function > for (ci = 0, cl = rowTable.rows[tri].cols.length; ci < cl; ci++) {

위의 for문 안쪽에
아래와 같이 작성 하고

if(col.editorUse !== undefined){
if(col.editorUse){
col.editor = {type: ‘text’};
}
}

getFieldValue.call(this, _list, _list[di], di, col) << 이 function 까지는 실행이 되는거 같았습니다.
하지만 에디터박스가 생성이 되질 않더라고요.

제가 뭘 놓치고 있는걸까요. 도움 부탁 드립니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant