myTrashCanButton.visible = ( dataGrid.isItemHighlighted(data) ||
dataGrid.isItemSelected(data) );

-TH

--- In [email protected], "jdizowat" <jasonharr...@...> wrote:
>
> You are amazing, that's exactly what I needed.
>
> The first problem I encountered was this - since the datagrid is
selectable by default which is what I want, the selection is
over-powering the button click and setting the row selection. Per the
listbase class and that isItemHighlighted function you gave me, it looks
like they are saying the selected draws over the highlighted. I can
rollover a row and click the trashcan button and the row highlights and
the button goes away. If I re-hover over the selected row, I can then
click the button.
>


Reply via email to