-
Notifications
You must be signed in to change notification settings - Fork 161
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
igxGrid row selection #812
Comments
@SDinev and @StefanIvanov Hi guys we need a design for this one if we have it please include it in the spec. |
"the only mode of selection will be multiple" Does this mean it's not possible to force selection of a single row? This seems like a huge limitation if it's the case. What is the reasoning behind this? At least in our solution it's vastly more common to only select a single row at a time. So we will basically have to monitor selection and deselect manually if we want to force single row selection? |
@Eralmidia The igx-grid should support selection of one or more rows. I don't think there will be a limitation on selecting a single row. |
Hi, @Eralmidia. This specification is still an initial one, and any matter is a matter of discussion. Thank you for your question and for sure it will be taken in account. |
I see. Keeping it simple is of course a good thing, and I guess it's not a big deal whether its through an event or an option, as long as this is well documented and doesn't increase complexity in development. I imagine this will be a very common use case. I'm sure we have more than 100 ig grids in our solution, and that more than 90% of them uses single row selection. |
@kdinev can you check the feature API in the specifications? Thank you! |
@Lipata I looked at the APIs. Since we decided we're going to identify the selected rows by their data members, rather than the |
…on-visual save and to be preserved during data operations. #812
@kdinev I've updated the specification. I've added grid methods that will work with row identifiers that are either primaryKey or rowData. I left the grid methods that will still accept row components as parameters. The idea is to use them to mimic the user row selection that is happening on visible rows. We still have getRowByIndex method that returns a row component. I'm not sure which is the best, but if we still have the getRowByIndex method, then we may leave the selection methods that work with row component. |
Implement row selection in igxGrid.
Research
Development
Documentation
Links
The text was updated successfully, but these errors were encountered: