[CLOSED] Ext.Net grid drag & drop on header

  1. #1

    [CLOSED] Ext.Net grid drag & drop on header

    Hi,

    I am planning about adding a grid-row to grid-column drag&drop functionality to create a user-defined grid, is this something that could be done using the standard drag & drop Ext.Net 2.x is providing? In my first findings I understood that grid is used as source/target for rows or cells only.

    Do you have any suggestion? For instance, should I develop my own plugin to perform this task?

    Thank you for an advice,
    Cheers
    Last edited by Daniil; Apr 30, 2013 at 5:13 AM. Reason: [CLOSED]
  2. #2
    Hi @adrianot,

    Quote Originally Posted by adrianot View Post
    a grid-row to grid-column drag&drop functionality to create a user-defined grid
    Sorry, I don't understand well what the functionality is. Please elaborate.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @adrianot,

    Sorry, I don't understand well what the functionality is. Please elaborate.
    Hi Daniil, yes, sorry, let me explain it better.

    I would like to create an end-user grid designer. I mean, let the user choose the columns to display on a given grid. I would like to provide a drag&drop functionality to add the fields from the grid where the "available fields" are listed and the actual grid used to display the content.

    I've seen that the grid provides a standard plugin for rows drag&drop, but actually I need to do something to drag a row (the field on the grid of avaialble fields) on the grid "header" (positioning the field on the right column).

    My question is: does Ext.Net provides something to perform this -or- should I write a custom plugin? Do you have any suggestion?

    THANK YOU very much for your suggestion!
    adriano
  4. #4
    Thank you for the details, it gets clear.

    Unfortunately, there is no a baked-in solution in Ext.NET.

    I think you can re-use a GridDragDrop plugin for dragging functionality from a source grid.

    And organize a destination grid (its header) as a DropTarget.

    Something like this:
    http://examples2.ext.net/#/DragDrop/..._to_FormPanel/
  5. #5

    Thanks!

    Thank you Daniil for the help! I'll take a look on the same and let you know when we're able to get it ready :-)

Similar Threads

  1. [CLOSED] Grid Drag and Drop with RowBody
    By blueworld in forum 2.x Premium Help
    Replies: 4
    Last Post: Apr 03, 2013, 10:16 AM
  2. Replies: 0
    Last Post: Oct 15, 2012, 1:38 PM
  3. [CLOSED] Can we have drag and drop in same grid
    By sriram in forum 1.x Premium Help
    Replies: 17
    Last Post: Jul 11, 2012, 6:02 PM
  4. [CLOSED] Grid Drag and Drop example
    By vali1993 in forum 1.x Premium Help
    Replies: 4
    Last Post: Jun 14, 2011, 2:20 PM
  5. [CLOSED] Grid to Grid Drag and Drop Questions
    By dmoore in forum 1.x Premium Help
    Replies: 1
    Last Post: Feb 15, 2011, 11:43 AM

Tags for this Thread

Posting Permissions