localX on datagrid giving strange readings
Hi
I have a datagrid that is 1100 wide/
I've set up a RIGHT_CLICK listener on it, and am tracing the x/y coords with localX and localY.
Clicking at x=0 traces x at being zero, but if I click to the very right on the datagrid, around the x= 1100 mark, it traces x as being around 280. And clicking halfway traces x at 140 (it should be around 550).
Same sort of thing is happening on the y axis.
What is this an indication of that I am doing wrong?
Cheers guys.
