Skip to content

[Feat]: Programatically select Tablerows if Multiselect is used #523

Open
@CHSchuepfer

Description

@CHSchuepfer

Is your feature request related to a problem? Please describe.
If you choose the "multiselect" option on rowclick it would be awesome to have the functionality to preselect rows based on a query result.

Describe the solution you'd like
I would like to have the ability to programmatically select items in a table based on a query result. If I have a returned structure from a query like this:

{
> data{
> > someDataArray[
> > > 0{
> > > > id: 1
> > > > attributes{
> > > > > _some_other_data
> > > > }
> > > }
> > ]
> }
}

I would liketo be able to choose the id field as a marker that all items that have an id field to be preselected. The mental image I used was having a customer that has X out of Y services in a table. All already booked services are preselected.

Describe alternatives you've considered
An alternative for that would be having an add button in the bar (where the filter button is). You could then add an Dataset(resultset from a query) to that button from which you can choose to add to the table or temporary state.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Labels

EnhancementNew feature or request

Type

No type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions