label.setStyle("cursor: pointer; font-style: italic;");
label.setDraggable(toString());
label.setDroppable(toString());
label.addEventListener(Events.ON_DROP, new EventListener() {
public void onEvent(Event evt) throws Exception {
DropEvent dropEvent = (DropEvent) evt;
swapRows(dropEvent.getDragged(), dropEvent.getTarget());
}
});
label.addEventListener(Events.ON_CLICK, new EventListener() {
public void onEvent(Event evt) throws Exception {
convertLabelToTextfield(label);