-
Notifications
You must be signed in to change notification settings - Fork 160
igx-grid - pre-select rows #6653
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
Comments
There has been no recent activity and this issue has been marked inactive. |
Related #6974 |
@lalo-mx , the feature request is in the list for the current milestone. You could follow the milestone progress on the Roadmap board or in the Roadmap file. |
Hi @lalo-mx, we've created a PR, with the needed changes, that will allow you to bind to a <igx-grid [data]="myData" rowSelection="multiple" primaryKey="MyColumn" [selectedRows]="myRowIds"></igx-grid> This means that we don't need an event on which to attempt and select rows because now it can be easily achieved using property binding alone. Additionally, with the grid being virualized, meaning its data gets loaded in chunks, we don't really have a situation where all of the data has just been loaded. Please feel free to add any additional notes/comments or ask us any questions about the feature. |
Is your feature request related to a problem? Please describe.
I want to pre-select rows in a grid
Describe the solution you'd like
a) I would like to be able to pre-select rows as a property of the grid
b) I would like that the grid emits an event when the data is fully loaded so i can select the rows with selectRows
Describe alternatives you've considered
Set a timeout to wait for the rows to be rendered.
Additional context
Sample of pre-select rows https://stackblitz.com/edit/angular-qzbw2o
The text was updated successfully, but these errors were encountered: