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

grid combobox select option을 동적으로 주고 clear() 했을 때 option 인덱스가 밀리는 에러 #151

Open
vo3oww opened this issue Nov 19, 2019 · 0 comments

Comments

@vo3oww
Copy link

vo3oww commented Nov 19, 2019

grid combobox select option을 동적으로 주고
clear() 했을 때 option 인덱스가 밀리는 에러 해결할 수 있나요?

  • js
    // 초기화 버튼 클릭 시
    $("#btn_00").click(function (data) {
    fnObj.formView01.clear();
    alert("검색 조건을 초기화하였습니다.");
    });
    // clear() 적용
    clear : function () {
    this.model.setModel(this.getDefaultData());
    this.target.find('[data-ax-path="key"]').removeAttr("readonly");
    },
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