KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to make all cells in Data Grid draggable or droppable.
PRODUCT: 4D Web 2.0 Pack | VERSION: 11.1 | PLATFORM: Mac & Win
Published On: May 29, 2008
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

PLEASE NOTE: This Tech Tip applies to 4D Ajax Framework v11 Release 1

The new Data Grid introduced in 4D Ajax Framework v11 Release 1 allows Drag-and-Drop functionality. The contents of a cell from one data grid can overwrite the contents of another cell in a different data grid.

For example, to make a cell draggable, the following command is used:

myGrid.setDragCells(row, column, isDroppable)



Specify a cell's row number and column a number to make that specific cell draggable. To make all cells in the data grid draggable, pass null for the row and column values.

For the latest information the Data Grid please see the documentation page:

https://www.4d.com/support/documentation.html