use of com.extjs.gxt.ui.client.util.Point in project activityinfo by bedatadriven.
the class IndicatorGridPanel method getRowY.
public int getRowY(IndicatorDTO indicator) {
int rowIndex = grid.getStore().indexOf(indicator);
if (rowIndex == -1) {
throw new IllegalArgumentException("indicatorId=" + indicator.getId());
}
Element row = grid.getView().getRow(rowIndex);
Point p = El.fly(row).getAnchorXY("c", false);
return p.y;
}
use of com.extjs.gxt.ui.client.util.Point in project activityinfo by bedatadriven.
the class IndicatorGridPanel method getRowY.
public int getRowY(IndicatorDTO indicator) {
int rowIndex = grid.getStore().indexOf(indicator);
if (rowIndex == -1) {
throw new IllegalArgumentException("indicatorId=" + indicator.getId());
}
Element row = grid.getView().getRow(rowIndex);
Point p = El.fly(row).getAnchorXY("c", false);
return p.y;
}