2 Replies Latest reply on Dec 12, 2007 3:12 AM by meaobao

    Drag & Drop Behavior ?!

       

      Dear All,

       

       

      I have a problem in studying the drag & drop behavior in customizing clearspace community, i have the source build & i want to prevent droping some widgets in the mail coloumn & vise versa ........ more clearly i classify the widgets into 2 categories, Big & Small , the big widgets goes only in the main coloumn & the small ones goes only in the right coloumn , so accroding to a new field added to the jivewidget table i determine wherever this widget is Big or Small & according to this criteria i want to prevent Big Widgets from being dropped into the right coloumn & prevent the Small widgets from bieng dropped in the main clolumn.

       

       

      Is there any ideas

       

       

      thanks in advance

       

       

        • Re: Drag & Drop Behavior ?!

          hi Mohamed,

           

          I checked into this a bit, it would be non-trivial to allow only large widgets to be dragged onto the big column and vice versa. I don't know your business requirements, but I'd try to push back on this: widgets are meant to be displayed in both the large and small columns.

           

          Cheers,

           

          AJ

            • Re: Drag & Drop Behavior ?!

               

              Thanks Aaron for your reply but i succeded in implementing such algorithm but the only problem now facing me is how to prevent dragging & dropping between the 2 coloumns ?! Is it requires modifying the draganddrop.js file ?? please help in this point, i need to prevent dragging & dropping between small & large coloumns.

               

               

              thanks again for your care.