Content in upper table (table with 1 row) will be shifted to the left after dragging element from upper to the bottom table. Inside event.dropped() handler is JS code that will be executed only in case of dragging from table 0 to table 1. All other movements are ignored.