-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
Docs: DetailRow samples update #5940
Conversation
… rows, and displays an icon when a detail row can be expanded.
The test errors are weird and have nothing to do with the actual code change. I think these are caused by the update of while now |
Can we specify the exact ubuntu version to make them run? |
It could be exposed, yes. But there are some API that are kinda internal and that user shouldn't need to know and not be able to use. Like |
Yes, that will work.. Also the older dotnets (6,7) are not part of the ubuntu 24.04, it is still installable and working, but we (I) removed the installation step for these, I wasn't aware it is being removed with new version. (we can easily revert that change, it's on master branch). 22.04 will be removed (probably) on April 2027. options:
|
Yes, I understand it is private for a reason. Question is: should I try to came up with a solution for exposing the |
I guess it might be worth it. It's good to know that information. Now that we are pursuing this. I think HasDetailRow is a weird name. So we can try having something more descriptive like I will open new issue. |
Description
Closes #4745
Adds sample code that demonstrates two functionalities:
While the implementation works, it may not fully address the original discussion,
Datagrid check if detailrow is displayed
.Currently, there is no straightforward way to achieve this. The current solution relies on tracking "which rows have been clicked," which is indirectly tied to the detail row display. This approach is fragile and can easily break, especially when manual triggers for detail rows are added.
A better solution could involve exposing
DataGridRowInfo.HasDetailRow
by makingDataGrid.GetRowInfo
public and optimizing its performance.???