When writing a custom itemRenderer, how do you reference the height and width of the grid cell that it will be rendered in? In such a way that it will resize correctly when the grid is resized.
I am writing a dataGrid itemRenderer that draws a bar graph in the final column of a table.
I have tried referencing 'this', 'this.parent', and a few other things with no success. My interim hack solution is to add this data to the datacollection, but this wont work when the grid changes size, so I will have to edit it every time.