views:

37

answers:

2

Hello All,

I am currently working on a project where I need to go for draggable elements. There will be list of options e.g. Sunday, Monday, Tuesday... Saturday. Here user will be selecting any of them, say Sunday, Wednesday, Saturday. I need to display them in such a way the user can realign them in any Order.

E.g

Sunday
Saturday
Wednesday

or

Sunday
Wednesday
Saturday

And I need to get the display order in my Client/ Server side

I have decided to provided asp checkboxs for the parent list. When user checks any of the option, I need to populate it in another UI which would later helps me to realign the selected options. I have gone through few samples of draggable jQuery UI but not sure which will suit my requirement.

Can any one suggest the BEST?

+2  A: 

I think this should be enough for you:

http://jqueryui.com/demos/draggable/#sortable

Also, I would suggest not using the checkboxes but adding another draggable component that marks the limit between used and unused days, like:

> Saturday
> Sunday
> **Below are ignored**
> ...

I think it may be more usable.

Pere Villega
Thats Great..! Do you mean to have another draggable Component A (parent with all options) from which I'll drag the required to another draggable component B (child with required days)?
Sri Kumar
That, or just have all in the same component and a bar that divides the elements in "wanted" and "not wanted", depending if they are above or below it.
Pere Villega