dhtmlx grid cell drag & drop


We have bought the professional version of dhtmlx controls, and we were wondering if we could have the following functionalities:

  1. Drag and drop a table cell anywhere outside the grid which would perform some action.
    e.g: a table consisting of list of products with prices in one of the column. What we would like is that; we could drag and drop certain price of a product(which is in a cell of that product row) and open the detail of that column. So in the above case we would probably need to get the product id as well as the cell details which was dragged and dropped.
  2. The possibility to select multiple cells of the grid together and drag & drop them somewhere.
  3. The possibility to add contextual menus with table cells.
  4. The possiblility to select multiple rows.

    Any idea or suggestion would be really helpful.
    Thanking in anticipation.

>>The possiblility to select multiple rows.
In multiselect mode you can select few rows by shift-click or|and crtl-click, all selected row can be dragged at once.
To enable multiselection, next command need to be issued
    grid.enableMultiselect(true);

>
The possibility to select multiple cells of the grid together and drag & drop them somewhere.
The selection in grid are row based, you can’t select just a cells.

>>
The possibility to add contextual menus with table cells.
Such functionaltiy supported in pro version
    samples/pro_context_menu.html
    samples/pro_context_column.html

Thanks for your reply.
About the selection of single or multiple cells apparently it seems like it is possible or could be made possible.

scbr.com/docs/products/dhtml … to_cb.html

In the above links there are some examples which seems like to have this functionality of cell selection by clicking on a cell or by keeping the left mouse button clicked and dragging over the cells. Is this not really a cell selection??

If its still a row selection, can it be made possible to select a cell by other ways. If even a custom solution could be envisaged, could you please  guide us how it could be done using the dhtmlxGrid??

>>In the above links there are some examples which seems like to have
this functionality of cell selection by clicking on a cell or by
keeping the left mouse button clicked and dragging over the cells. Is
this not really a cell selection??


There is no way to select just different cells, but yes it possible to select some region in grid. This functionality was implemented only in dhtmlxGrid 1.3 and currently used only for operations with clipboards.
Mode can be enabled by
    grid.enableBlockSelection();
But such selection can’t be used for drag-n-drop


>>If its still a row selection,
can it be made possible to select a cell by other ways

The styles in dhtmlxGrid.css can be updated, so they not highlight the selected row, only selected cell, so visually it will look as single selected cell.
The situation with few selected cells are much harder to achieve, the grid build in such way, that only one cell can be focused in same moment of time.