How to pre-select rows based on the dataSet #5090
Unanswered
devGemScram
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a scenario where rows need to be selected on the initial load based on user data. I have been trying a lot but didn't find any solution. Given the following dataSet -
const mockData = [
{
firstName: "John",
lastName: "Dear",
checked: true
},
{
firstName: "Mick",
lastName: "Henley",
checked: true
},
{
firstName: "James",
lastName: "ken",
checked: false
}]
The rows for the first two data must be pre-selected when the page loads.
Beta Was this translation helpful? Give feedback.
All reactions