Hi Stephen,

You can define a static property in your item renderer which you can set to the appropriate value based on who logged in before displaying the table. Or, alternatively, you can use a singleton to define and check who logged in.

Tibor.

www.tiborballai.com

criptopus wrote:
I have an item renderer for a column of a table and I want to display the column of the table in a different way independent of the data that is sent to the item renderer.

For example if John is logged in I want the column to use two radio buttons and if Pete is logged in I want the column to use tick boxes.

I was toying with setting up a public variable inside the item renderer but when and where do I pass the variable in if each row runs separately?

Any ideas?

- Stephen Brown



Reply via email to