Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by satheesh kumar K on Oct 22, 2008 07:54
open dhtmlx forum
Drag and Drop - Data type change.

I have two grids named as Grid1 and Grid2.The data type for the grid2 is price for all the cost columns.When i drag one row from Grid1 and dropped in Grid2, then it fill the cost column with zero.But i dont want to fill it with zero,instead leave it to blank.

Is it possible to change data type for a particular row randomly.Please help me on this.Thanks in advance.
Answer posted by Support on Oct 22, 2008 08:34
The type can be changed for some rows|cells in grid by
   grid.setRowExcellType(....
   grid.setCellExcellType(...


Answer posted on Oct 22, 2008 13:08

It would be great if sample is provided.

Thanks in advance.

Answer posted by Support on Oct 23, 2008 01:30
These methods are available only in the professional edition.

The sample can be found in the grid package dhtmlxGrid/samples/cell_types/pro_col_excell.html

on our web site - http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/cell_types/pro_col_excell.html