1 Reply Latest reply on Oct 22, 2007 1:02 PM by gagool

    Page layout: Drag and Drop in Table arrangement?

    prasad_k

      There are a number of dataTable on one page, and allow users to arrange them using DnD. I looked at the richfaces Drag/Drop, but could not figure out how to implement this feature. For example,

      Two columns on one page: column X and Y.
      Initially column X has three dataTables (t1, t2, t3) , and Y has two dataTables: t4 and t5.

      X | Y
      ----------------
      t1 | t4
      t2 | t5
      t3 |

      I hope to drag t5 into column X from column Y, and drop it into a space between t2 and t3.

      I do not know how to implement this. If anyone could give me some help/hint, I appreciate it.

      Thanks for your time.
      Khilesh

        • 1. Re: Page layout: Drag and Drop in Table arrangement?
          gagool

          I have almost the same problem.
          I tried to do this using DOJO instead but that messed up the DOM so that ajax requests stopped working (no rerender etc on moved parts).
          Do I need to tell richfaces which parts of the dom that has been moved or something. The drag and drop works if I use non richfaces-commandButton.