I have a Flex DataGrid, which has some columns, I had put a item renderer, which makes all the elements in that column hyperlinked, I have a requirement, where I need to see the type of user, based on that I have to either enable or disable the hyperlink.
Is there any good way, where I can get the style properties at the cell level…?
I searched, but of not much help..!!
Best Answer
Bind the item renderer's
data
property (or set a listener) so that it disables the hyperlink when changed. The data property changes each time the cell receives new data to render.Here are a couple possibilities.
With a minimal snippet of your code, the example might be more fitting, but you should be able to adapt this.