# RadzenDataGrid (component) custom attributes

**URL:** <https://forum.radzen.com/t/radzendatagrid-component-custom-attributes/15648>\
**Category:** Radzen.Blazor Components\
**Created:** [November 8, 2023, 7:58am UTC](https://forum.radzen.com/t/radzendatagrid-component-custom-attributes/15648 "2023-11-08T07:58:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [November 9, 2023, 9:57am UTC](https://forum.radzen.com/t/radzendatagrid-component-custom-attributes/15648/5 "2023-11-09T09:57:00Z")

</div>

I think setting an attribute to null makes it not render. You try that instead. I don't think setting attributes per component instance should be done (as you are trying with the extension method).

Another solution is to inherit from RadzenDataGrid and use component activator for tests. Check this thread for more info: [Localize Radzen Datagrid Advanced Filter - #5 by korchev](http://forum.radzen.com/t/localize-radzen-datagrid-advanced-filter/11164/5)

---

_[View the full topic](https://forum.radzen.com/t/radzendatagrid-component-custom-attributes/15648)._
