# Nested Datagrid, strange behaviour

**URL:** <https://forum.radzen.com/t/nested-datagrid-strange-behaviour/5467>\
**Category:** Blazor Server\
**Created:** [October 29, 2020, 9:39am UTC](https://forum.radzen.com/t/nested-datagrid-strange-behaviour/5467 "2020-10-29T09:39:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas](https://forum.radzen.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://forum.radzen.com/u/Thomas)\
**Post date:** [October 29, 2020, 9:39am UTC](https://forum.radzen.com/t/nested-datagrid-strange-behaviour/5467/1 "2020-10-29T09:39:52Z")

</div>

Hello Radzen team,  
i have a strange behaviour in a nested datagrid.

s. [Video](https://www.screencast.com/t/5UbRjcDV5OyV)

I know that this one could be complicated...  
Do you have any ideas? or should i send the project?

Kind Regards  
Thomas

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [October 29, 2020, 11:07am UTC](https://forum.radzen.com/t/nested-datagrid-strange-behaviour/5467/2 "2020-10-29T11:07:29Z")

</div>

@Thomas, the grid shows the configured columns. When you change the Data the new items may not have the corresponding properties hence the grid appears empty.

---

<div class="post-metadata">

**Author:** ![SloSuenos](https://forum.radzen.com/user_avatar/forum.radzen.com/slosuenos/32/9256_2.png) [@SloSuenos](https://forum.radzen.com/u/SloSuenos)\
**Post date:** [October 29, 2020, 11:39am UTC](https://forum.radzen.com/t/nested-datagrid-strange-behaviour/5467/3 "2020-10-29T11:39:50Z")

</div>

Thomas, playing with it and doing the same thing, I get the same result. When changing the data property, I have to delete the previously generated columns, and then click autogenerate again to get the new columns...

Stephen

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [October 29, 2020, 11:41am UTC](https://forum.radzen.com/t/nested-datagrid-strange-behaviour/5467/4 "2020-10-29T11:41:30Z")

</div>

Indeed, changing the Data property of the DataGrid does not remove the columns.

---

<div class="post-metadata">

**Author:** ![Thomas](https://forum.radzen.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://forum.radzen.com/u/Thomas)\
**Post date:** [October 29, 2020, 12:00pm UTC](https://forum.radzen.com/t/nested-datagrid-strange-behaviour/5467/5 "2020-10-29T12:00:59Z")

</div>

Hi @korchev & @SloSuenos,  
yes. I know you are right. Thats why i only placed a Template with a Button on it in the video above. I have the same behaviour without any assigned columns. And with a new datagrid... same behaviour.  
I show you...

[Video](https://www.screencast.com/t/SruZQPJg)

It seems to have something todo with the collection assigned to it. But its not the amount of fields in the collection. i have great collections which works fine. but some... (i think always the same collections) dont.

Kind Regards  
Thomas

---

<div class="post-metadata">

**Author:** ![Thomas](https://forum.radzen.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://forum.radzen.com/u/Thomas)\
**Post date:** [October 29, 2020, 12:10pm UTC](https://forum.radzen.com/t/nested-datagrid-strange-behaviour/5467/6 "2020-10-29T12:10:41Z")

</div>

Another strange thing with these "invisible rows nested datagrid" 😉  
The Format Property shows no entries after auto generate. Deleting and selecting the Property property solves this and the format dropdown works as expected:

Thomas

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [October 29, 2020, 12:13pm UTC](https://forum.radzen.com/t/nested-datagrid-strange-behaviour/5467/7 "2020-10-29T12:13:24Z")

</div>

I am afraid I no longer understand what the problem is. I suggest you send your project to [info@radzen.com](mailto:info@radzen.com) and describe in precise words:

1. What the problem is
2. What the expected result is
3. How to reproduce it and in which page

---

<div class="post-metadata">

**Author:** ![Thomas](https://forum.radzen.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://forum.radzen.com/u/Thomas)\
**Post date:** [October 29, 2020, 12:52pm UTC](https://forum.radzen.com/t/nested-datagrid-strange-behaviour/5467/8 "2020-10-29T12:52:46Z")

</div>

Hi @korchev,  
i send you the project.

Thomas
