# Datagrid column with muiltiple buttons and visibilty rules

**URL:** <https://forum.radzen.com/t/datagrid-column-with-muiltiple-buttons-and-visibilty-rules/17855>\
**Category:** Blazor WebAssembly\
**Created:** [July 17, 2024, 4:29am UTC](https://forum.radzen.com/t/datagrid-column-with-muiltiple-buttons-and-visibilty-rules/17855 "2024-07-17T04:29:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TMRGlobal](https://forum.radzen.com/letter_avatar_proxy/v4/letter/t/7993a0/32.png) [@TMRGlobal](https://forum.radzen.com/u/TMRGlobal)\
**Post date:** [July 17, 2024, 4:29am UTC](https://forum.radzen.com/t/datagrid-column-with-muiltiple-buttons-and-visibilty-rules/17855/1 "2024-07-17T04:29:36Z")

</div>

hi guys,

i have a datagrid wired up to a server controller API

 ![image](https://forum.radzen.com/uploads/default/original/3X/4/3/434f443c3834757fe3a50ebd62ee7fe695d8e0a0.png)

there is a field here which returns a bool --\> Member

on page load, i invoke the method to call the API and then set the ${result} to a parameter

i use that parameter as the data bind for the datagrid.

in the datagrid i have two buttons in one column;  
the buttons have the same visibility rule

 ![image](https://forum.radzen.com/uploads/default/original/3X/d/c/dc1f1547a592b24363f7d3537aea0abcc39ab8e2.png)

when build and access this page, i'm getting a mixed result, i expect there to be a single button on each row as a red would show when Member = FALSE and a green would show when Member = TRUE

 ![image](https://forum.radzen.com/uploads/default/original/3X/5/a/5ae34aa64c27d340b6af0840d0751f345ee230a8.png)

however i'm seeing both buttons in one column and nothing in another .... this doesn't match the API response or how i think this shuold work.

can anyone spot the issue?

---

<div class="post-metadata">

**Author:** ![TMRGlobal](https://forum.radzen.com/letter_avatar_proxy/v4/letter/t/7993a0/32.png) [@TMRGlobal](https://forum.radzen.com/u/TMRGlobal)\
**Post date:** [July 17, 2024, 4:56am UTC](https://forum.radzen.com/t/datagrid-column-with-muiltiple-buttons-and-visibilty-rules/17855/2 "2024-07-17T04:56:45Z")

</div>

one of the buttons needs an inverse visibility rule..... OMG.... rookie mistake
