# Cell Renderer Problem

**URL:** <https://forum.kirupa.com/t/cell-renderer-problem/256967>\
**Category:** flash\
**Created:** [April 9, 2008, 6:00am UTC](https://forum.kirupa.com/t/cell-renderer-problem/256967 "2008-04-09T06:00:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alrantisi](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@alrantisi](https://forum.kirupa.com/u/alrantisi)\
**Post date:** [April 9, 2008, 6:00am UTC](https://forum.kirupa.com/t/cell-renderer-problem/256967/1 "2008-04-09T06:00:28Z")

</div>

Hi,

I have a problem. I have two columns in a datagrid. One for song title and the other for Play/Stop button.

When I press the Play button in a particular row, it changes into Stop button as the song plays.

My problem is when I click on some other Play button in another row, I want the previous button that was pressed, to change its state to “Play”.

At present, as I go on pressing Play button in different rows, their state changes to stop, but i want the state of the currently selected button only to change to Stop, rest all should revert to original.

Thanks

Anwar
