I copied the sample code at Customizing the Selection to build my first multi-select grid with checkboxes. After I added a button with a handler to log selectedState I see that it contains an object:
{"1": true,
"2": false,
"3": true,
"4": true,
"5": true
}
Apologies for the naive question, but how does this help me process the selected rows? Are there JS techniques for putting this content in an array? Is there some way to filter an object?
I need to get an array of selected rows to move my project forward. I'm just not clear how to take the default state and use it.