Jquery UI - Nested Droppables/Sortables -
i trying build interactive web app. using jquery ui, stuck here - can't seem find way "nest" "boxes" (see fiddle demo). example assume there 4 boxes - a, b , c , d. if parent high values width , height, drag , drop b a - works fine. try dragging , dropping "box" c a, works fine. when try drop d (or c, doesn't matter) b (nesting), doesnt seem work (see fiddle).
notice fiddle doesn't contain separate "boxes" instead 1 box thats replicated multiple times. note haven't implemented sorting feature (in fiddle) yet since haven't been able fix nesting issue.
js fiddle: http://jsfiddle.net/jqwsf/
just make sure i'm not trying confuse here, i've attached image.
any appreciated. thank you.
is this need?
summary: new inner box must greedy intercept events.
Comments
Post a Comment