Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sateesh on Jul 22, 2008 05:25
open dhtmlx forum
Dynamic Editable Text Fields

I've two Grids, I am doing drag and drop from first grid to second grid, If the Target Grid doesn't contains a value I want to make ediatable text fields in the respective row of the traget grid.
Answer posted by Support on Jul 22, 2008 07:16
You can use onDrop event to provide any necessary changes on droped row

grid.attachEvent("onDrop",function(sid,tid,nid,sgrid,tgrid){
        if (some_check())
            tgrid.setRowExcellType(nid,"ed"); //change field types to editable for draged row
})