Hello, is there a way to distinguish between a user clicking on a value inside a ListGrid cell vs the cellClick event which fires when there is a click anywhere inside the cell?
Announcement
Collapse
No announcement yet.
X
-
What sort of "value" are you thinking of? The text or numeric content is just rendered as HTML in the cell. You could check the last event coordinates (e.g. EventHandler.getX()), and then compare it to the row and column coordinates (e.g. ListGrid.getRowPageTop()) to know the offset inside the cell, or you could build your own HTML (e.g. ListGrid.formatCellValue()) with a click handler that does what you need.
Comment