This illustrates how a custom plugin can enable a cell to cell drag and drop operation within the same GridView.
This example only allows a drag and drop operation for cells with the same data type, although that is configurable. The custom plugin allows for other configs, please see the comments in the source.
Note that the js is not minified so it is readable. See cell-to-cell-dd.js and CellDragDrop.
3m Co | 01/01/2025 | 71.72 | Up | 0.02 | 0.03 | 09/01/2025 |
Alcoa Inc | 01/01/2025 | 29.01 | Up | 0.42 | 1.47 | 09/01/2025 |
Altria Group Inc | 01/01/2025 | 83.81 | Up | 0.28 | 0.34 | 09/01/2025 |
American Express Company | 01/01/2025 | 52.55 | Up | 0.01 | 0.02 | 09/01/2025 |
American International Group, Inc. | 01/01/2025 | 64.13 | Up | 0.31 | 0.49 | 09/01/2025 |
AT&T Inc. | 01/01/2025 | 31.61 | Down | -0.48 | -1.54 | 09/01/2025 |
Boeing Co. | 01/01/2025 | 75.43 | Up | 0.53 | 0.71 | 09/01/2025 |
Caterpillar Inc. | 01/01/2025 | 67.27 | Up | 0.92 | 1.39 | 09/01/2025 |
Citigroup, Inc. | 01/01/2025 | 49.37 | Up | 0.02 | 0.04 | 09/01/2025 |
E.I. du Pont de Nemours and Company | 01/01/2025 | 40.48 | Up | 0.51 | 1.28 | 09/01/2025 |
Exxon Mobil Corp | 01/01/2025 | 68.1 | Down | -0.43 | -0.64 | 09/01/2025 |
General Electric Company | 01/01/2025 | 34.14 | Down | -0.08 | -0.23 | 09/01/2025 |
General Motors Corporation | 01/01/2025 | 30.27 | Up | 1.09 | 3.74 | 09/01/2025 |
Hewlett-Packard Co. | 01/01/2025 | 36.53 | Down | -0.03 | -0.08 | 09/01/2025 |
Honeywell Intl Inc | 01/01/2025 | 38.77 | Up | 0.05 | 0.13 | 09/01/2025 |
Intel Corporation | 01/01/2025 | 19.88 | Up | 0.31 | 1.58 | 09/01/2025 |
International Business Machines | 01/01/2025 | 81.41 | 0.44 | NaN | 0.54 | 09/01/2025 |
Johnson & Johnson | 01/01/2025 | 64.72 | Up | 0.06 | 0.09 | 09/01/2025 |
JP Morgan & Chase & Co | 01/01/2025 | 45.73 | Up | 0.07 | 0.15 | 09/01/2025 |
McDonald's Corporation | 01/01/2025 | 36.76 | Up | 0.86 | 2.4 | 09/01/2025 |
Merck & Co., Inc. | 01/01/2025 | 40.96 | Up | 0.41 | 1.01 | 09/01/2025 |
Microsoft Corporation | 01/01/2025 | 25.84 | Up | 0.14 | 0.54 | 09/01/2025 |
Pfizer Inc | 01/01/2025 | 27.96 | Up | 0.4 | 1.45 | 09/01/2025 |
The Coca-Cola Company | 01/01/2025 | 45.07 | 0.26 | NaN | 0.58 | 09/01/2025 |
The Home Depot, Inc. | 01/01/2025 | 34.64 | Up | 0.35 | 1.02 | 09/01/2025 |
The Procter & Gamble Company | 01/01/2025 | 61.91 | Up | 0.01 | 0.02 | 09/01/2025 |
United Technologies Corporation | 01/01/2025 | 63.26 | Up | 0.55 | 0.88 | 09/01/2025 |
Verizon Communications | 01/01/2025 | 35.57 | Up | 0.39 | 1.11 | 09/01/2025 |
Wal-Mart Stores, Inc. | 01/01/2025 | 45.45 | Up | 0.73 | 1.63 | 09/01/2025 |