This is why I resorted to using an alphanumeric multi-ordered list sort, which does get properly sorted by Axure with: It appears Axure interprets 1.1.1 as greater than 1.2 and 2.2 -so a properly sorted list should be:īut it turns out that sorting by “Order” ends up looking like: However, the sorting failed: all the Level 3 items went to the bottom of the list. *I initially tried to use the “dot-number” ordering scheme, similar to what skb shows–although that whole prototype is also a different approach from mine. Notice they don’t need to be directly under “Liquid” in the table, because the whole thing can be sorted later, or in the repeater’s OnLoad event to make it a default. Again, it is just a matter of using the same syntax: all Level 3 items must have. The Level 3 items are again sorted by number, so they inherit their parent’s “a” and their grandparent’s “4”. Shoots, I’m going to have to try this and post an example for any of this to make sense! I guess you’d be limited to how many items you could have in Levels 2 and 3, but if you know a maximum count, like say, 20, then you could hide or move the empty item slots. In your repeater table, you’d have one column for each level, and the OnItemLoad would set text in the corresponding dp state. Or, you could stack the 3 dp’s, setting Level 2 and 3 to height of 0 initially, then sizing and moving them based on number of items as their parent gets selected. You’d be able to animate the accordion transitions, too. With the “Fit content in HTML” option the repeater cells would automatically size themselves and push/pull locations. In this way, as you open an item, it would expand by changing the dp state to “Next” but not disappear–if that makes sense. and include slots for parent content: e.g., Level 2 would have a copy of Level 1 title/content, Level 3 would have copy of Level 1 and Level 2 content. You’d style each state with different indentation, font size, color, etc. My first thought at how to achieve this would be to create a dynamic panel in your repeater cell, with three states, one for each of your nav levels. You could maybe nest multiple dynamic panels, each with its own repeater list, but by the time you handled when and where to move those panels around, you’d likely defeat any advantages of doing this in repeaters. Ideally, you’d want to nest three repeater lists, but that is not supported in Axure. If you post a file or example of what you’re trying to achieve it would help. Yes, it is ((maybe) reasonably)) possible, depending on what you need.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |