Dreamweaver Ajax Beta - Details :: Drag and Drop - seemingly odd results
This thread was displayed: 10 times
Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.
For more information about the affected products visit: www.interaktonline.com/Support/
Kim Melson
08-13-2006 04:34:46 GMT +2
|
Have been playing with drag and drop, specifically with categories and ording enabled. I have a small data set, been moving re-ordering items in categories and moving items between categories.
I believe there are several problems and have attached a word document with details of the tests and the results of those tests.
At this point, the results I've gotten indicate the system is not useful for my applications for several reasons: 1. partially re-numbering the order across categories 2. there seems to be a disconnect between re-categorizing an item but not re-numbering the order at the same time. 3. when the unassigned record is indicated via a 0 value instead of a null, some re-numbering uses 0. That doesn't happen when a null value is used.
Appreciate your time in reviewing these and if you think things are working correctly or not. Thanks. Kim
|
|
|
Diana BARASCU[InterAKT Online]
08-14-2006 14:53:04 GMT +2
|
Hi Kim,
I have looked over the doc file you sent us and I think the are some errors in your data table.
The condition for order table column (Rwainumber - in your case) is that all the values must be unique and numeric (integer values). In the examples from the doc file I've seen you made the order column unique per categories, not in entire table. The order column must have only unique values in your table.
After an item is dropped into a new category, in the order table column some values are changed according to your drag and drop operation and the items will have the order you have specified in browser.
So, change the duplicate values from your table and redo the test and check if all items are ordered as you wish.
Another observation is about how the values from the order column change.It is not a rule that the items values from a category to be in succesion (consecutive), they can be random values but with the condition to fit with the ordering you made in browser.
Let me know if all the things are clear.
All the best,
Diana
|
|
|
Kim Melson
08-14-2006 20:37:33 GMT +2
|
Diane,
Thanks for your explanation, somewhere I had missed that the order column needed to be unique values across the table. I'll redo the test per all that. Then I'll just need to assess if that will work out for this particular project - I suspect it will if I don't allow the user to continue to see the actual order column values.
I'll need to do some testing that has some radically different values to be sure that any re-numbering across categories doesn't then mess up the ordering within a category. That is still a requirement for my project. I'll let you know how that works out. [am concerned that if I have order numbers of 1,2,3,4 table set, cat1 = (1,2) and cat2 = (3.4), then bring into the first category (1,2) an item numbered 245, that the re-numbering doesn't make item 3 numbered 246 which would then mess up the correct ordering of the cat2 set.]
What about the part though where there is a zero assigned to records when the order column has a zero versus a null? Guess that goes back to everything needing a pre-existing unique value in the order column. However, if something is unassigned, it needs to have a zero or null value for the system to recognize it as unassigned..... From my test though, I'd make sure it was null, not zero.
I'll do another experiment and report back. Thanks again for your time and the information. Kim
|
|
|