This is a declarative (or markup) example that uses a TreeStoreModel with drag and drop support.
You can drag a student and drop it on a team. Drag and Drop selections are performed with two javascript functions called dragAccept and dropAccept