Hi Jules (and all). I’m converting my program from Cocoa to JUCE and I’m really enjoying the framework!
I have 2 TableListBoxs, Albums and Recordings, with the following basic requirements.
-Add a Recording to an Album by dragging the recording row over a row in the albums table.
-Sort the recordings for an album by dragging a recording row over/between other recording rows.
I have made a top level container into a DragAndDropContainer and implemented getDragSourceDescription in the Recordings table. That much works.
However, I would like to use rows in each table as DragAndDropTargets, but I can only seem to provide custom Cells using refreshComponentForCell in the model. But also, playing with that, I’ve found that using a DragAndDropTarget as the Recording Cell causes the previously noted drag functionality to stop working.
So, am I missing something? I’m surely not the only one who needs to rearrange rows in a table, but I’ve had a look at the demo, and a few posts here in the forum and haven’t found the answer.