# Flex:- how to make visible false LinkButton in dataGrid based on conditions

**URL:** <https://forum.kirupa.com/t/flex-how-to-make-visible-false-linkbutton-in-datagrid-based-on-conditions/285549>\
**Category:** flash\
**Created:** [April 2, 2009, 6:04am UTC](https://forum.kirupa.com/t/flex-how-to-make-visible-false-linkbutton-in-datagrid-based-on-conditions/285549 "2009-04-02T06:04:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahulb\_441](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rahulb\_441](https://forum.kirupa.com/u/rahulb_441)\
**Post date:** [April 2, 2009, 6:04am UTC](https://forum.kirupa.com/t/flex-how-to-make-visible-false-linkbutton-in-datagrid-based-on-conditions/285549/1 "2009-04-02T06:04:37Z")

</div>

hi,  
i am using flex, and in my application i am using dataGrid, inside that there are 6 to 7 columns  
In the last column, there are 5 link buttons.  
Now in dataGrid i also have one status column. on tha basis of status, i want to hide some of these link buttons.  
for example, if status is ‘a’ then button 2 and 3 should disaapear  
and when status becomes ‘b’ some other buttons will be disaapear.  
and it is also possible that diffrent rows can have diffrent status, and according to that linkButtons should disaapear.  
how can i do this???  
Please…  
Thanks in advance.
