node.removeClassName(CellList.this.appearance.css().selected());
}
moved = false;
index = -1;
// Get the event target.
EventTarget eventTarget = event.getNativeEvent().getEventTarget();
if (eventTarget == null) {
return;
}
// no textnode or element node
if (!Node.is(eventTarget) && !Element.is(eventTarget)) {
return;
}
event.preventDefault();
// text node use the parent..
if (Node.is(eventTarget) && !Element.is(eventTarget)) {
Node target = Node.as(eventTarget);
eventTarget = target.getParentElement().cast();
}
// no element
if (!Element.is(eventTarget)) {
return;
}
Element target = eventTarget.cast();
originalElement = target;
// Find cell
String idxString = "";