Ahh...Sortable lists. .. I think these are in the dojo library but it's been a while since I've looked at these things.

The short answer is "yes", the long answer is that it's not built into anything tacos does yet. I could add it in I'm sure, but it's not high on the priority list right now. The drop target is a widget like all other dojo widges, so if you know it's ID you can get access to it and all the methods it has via dojo.widget.byId("string id"); I'm sure there's a getList() or similar method that could be used to return an ordered list to the server when an item is dropped for contextual information like this.

On 3/14/06, Justin McAllister <[EMAIL PROTECTED]> wrote:

Is it, or will it be possible to be able to tell where an item is in the drop target relative to the other items in the drop target?

 

For example: I would like to be able to have a list of items where I can drag the rows up and down and have the new row order be persisted to my backend database.

 

Thanks,

Justin McAllister


Reply via email to