Row Disapearing in DataGrid self-Reference Hierarchy Example #836

Closed
opened 2026-01-29 17:45:07 +00:00 by claunia · 1 comment
Owner

Originally created by @PrestigiousP on GitHub (May 1, 2023).

I noticed while trying your self-reference datagrid on your website that there is a bug. The row will disapear if we try to hide the childs using the expand button on the parent element.

Here is how you can reproduce the bug:

1- Be sure to have the childs visible (expand the parent element)
2- Open the Filter panel of Job Title
3 - Write in the first field the word "Representative" and click apply
4- Close the parent element

Now all the data should be gone and the message "No records to display." displayed.

Originally created by @PrestigiousP on GitHub (May 1, 2023). I noticed while trying your self-reference datagrid on your website that there is a bug. The row will disapear if we try to hide the childs using the expand button on the parent element. Here is how you can reproduce the bug: 1- Be sure to have the childs visible (expand the parent element) 2- Open the Filter panel of Job Title 3 - Write in the first field the word "Representative" and click apply 4- Close the parent element Now all the data should be gone and the message "No records to display." displayed.
Author
Owner

@enchev commented on GitHub (May 2, 2023):

Hi @PrestigiousP,

Child data in self-referenced DataGrid are loaded on demand when the parent row is expanded and cleared when the row is collapsed and since the parent row Job Title does not contain "Representative" no records will be displayed. You can avoid this by clearing the filters on collapse:
image

@enchev commented on GitHub (May 2, 2023): Hi @PrestigiousP, Child data in self-referenced DataGrid are loaded on demand when the parent row is expanded and cleared when the row is collapsed and since the parent row Job Title does not contain "Representative" no records will be displayed. You can avoid this by clearing the filters on collapse: ![image](https://user-images.githubusercontent.com/5804953/235598117-25c5f78e-988e-490b-a335-2a56fb2cc096.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#836