Nov 24, 2009, 6:32 AM
[CLOSED] Render (or prepare) grid cell
Dear all,
I have a grid with two columns, filled by a store.
I would like to display a specified value in the first cell depending on the second cell's value.
IE:
COL1 | COL2
1 | 2
3 | 6
4 | 2
9 | 8
When col2.value is 2 I'd like to render col1 as following, putting a star '*' instead of its value:
COL1 | COL2
* | 2
3 | 6
* | 2
9 | 8
Is it possible to do this with a renderer (or with something else)?
Thanks in advance,
I have a grid with two columns, filled by a store.
I would like to display a specified value in the first cell depending on the second cell's value.
IE:
COL1 | COL2
1 | 2
3 | 6
4 | 2
9 | 8
When col2.value is 2 I'd like to render col1 as following, putting a star '*' instead of its value:
COL1 | COL2
* | 2
3 | 6
* | 2
9 | 8
Is it possible to do this with a renderer (or with something else)?
Thanks in advance,