Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGridField type LINK: which is the right click handler?

    Hey all,

    In order to override the target when we click in a ListGridField of type LINK, which is the right click handler that should be implemented for the ListGridField?

    #2
    As far as I can see the only way to get the context click on a cell is via ListGrid object.
    You would use ListGrid.addCellClickHandler(CellClickHandler handler) for a normal click
    Right click would be ListGrid..cellContextClick
    .... I think you would differentiate which specific cell to do anything for using the cell row and column passed in the event since the cellclickHandler method seems to activate for all cells in the ListGrid (the event class is this one: onCellClick(CellClickEvent) which has getRow() and getColumn() methods
    Last edited by uhurusurfa; 9 Jan 2017, 05:45.

    Comment

    Working...
    X