Skip to content

props tableOptions 클릭 이벤트 구현 코드 수정 #46

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

Closed
Seungwoo321 opened this issue Apr 16, 2025 · 0 comments
Closed

props tableOptions 클릭 이벤트 구현 코드 수정 #46

Seungwoo321 opened this issue Apr 16, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Seungwoo321
Copy link
Member

  • tableOptions를 props로 제공시 클릭이벤트 발생 해야 됨
const tableOptions = {
  clickCallback: function (e, value, filters, pivotData) {
    const values = []
    pivotData.forEachMatchingRecord(filters, function (record) {
      values.push(Object.values(record))
    })
    alert(values.join('\n'))
  }
}
@Seungwoo321 Seungwoo321 self-assigned this Apr 16, 2025
@Seungwoo321 Seungwoo321 added the enhancement New feature or request label Apr 16, 2025
@Seungwoo321 Seungwoo321 added this to the Version 0.0.2 milestone Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant