akveo / akveo/ng2-smart-table

Set row as selected when user selects radio button in custom component

Open
#987 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
867
PR merge metrics
No merged PRs in 30d

Description

I am working on a project, where we have a custom component having 2 radio buttons as a column for the ng2-smart-table. Now, we have a requirement that we want to set the checkbox of the row to show as selected if user interacts with this component and sets either of the radio buttons to true.

Is there any way by which this can be achieved? I have tried passing the row data from valuePrepareFunction, but that doesn't provide access to row, just rowdata and we cannot set selected from there.

Will really appreciate if someone can help me with this issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.