-
Notifications
You must be signed in to change notification settings - Fork 798
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
Unable To Get Row Data When Datagrid Is Grouped. #2225
Comments
Hi @miraj98hossain , In SfDataGrid, when grouping support is enabled, the grouped rows collection is maintained internally. In the effective rows collection, only visible DataGridRows are included. The DataGridSource.rows property contains only the total rows without the grouped rows, which means it does not account for the grouping hierarchy. Consequently, it is not possible to fetch the correct row using the rowIndex when grouping is applied. Currently, the DataGrid does not support obtaining a row using the RowColumnIndex from the onCellTap callback when grouping is applied. However, We have already considered your request as a feature. We will implement this feature in any of our upcoming releases. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We appreciate your patience and understanding in the meantime. For further updates, you can refer to the feedback provided below. Feedback - 50282 Regards, |
Okay! Please Consider it as a much need feature |
Hi @miraj98hossain, We are closing this issue now. You can follow the feedback link for further updates. If you need any further assistance, please reopen this. We are always happy to help. Regards, |
Bug description
I'm not receiving accurate row data when I try to retrieve it while the column is grouped. For instance, it gives me the second row data while I try to receive the first row data. The reason for this is that the data source's row list and the data grid list length don't match since the data grid contains extra group header rows.
How can I solve this ??
Steps to reproduce
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
Stack Traces
Stack Traces
On which target platforms have you observed this bug?
Android, iOS
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: