public String getRangeUri(int colStart, int rowStart, int colEnd, int rowEnd) {
Transform t1 = transform(colStart, rowStart);
Transform t2 = transform(colEnd, rowEnd);
if (t1 == null || t2 == null) {
return null;
}
if (t1.grid() != t2.grid()) {
for (int j = 0; j < gridTables.length; j++) {
if (gridTables[j].getGrid() != t2.grid()) {
continue;
}
IGridRegion region = gridTables[j].getRegion();
return t2.grid().getRangeUri(region.getLeft(), region.getTop(), region.getRight(), region.getBottom());
}
}
return t1.grid().getRangeUri(t1.getCol(), t1.getRow(), t2.getCol(), t2.getRow());
}