I got it to work, and am posting the solution in case it is helpful, or someone knows of a better way to do it.
In the actionscript of the dataGrid component itself, I have the following:
on(cellPress) {
trace("parent status is" + selectedItem.Status);
if (selectedItem.Status == 'typea')
{
_parent.btn_select._visibl
}
if (selectedItem.Status == 'typeb')
{
_parent.btn_select._visibl
}
if (selectedItem.Status == 'typec')
{
_parent.btn_select._visibl
}
}
Main Topics
Browse All Topics





by: negatyvePosted on 2005-05-16 at 23:08:55ID: 14016343
If with "button" you mean the whole row, then there's no property to do that (datagrid.selectable is a global property). You should create a custom cell renderer...