Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Udhayabalachandar on Apr 22, 2008 02:49
open dhtmlx forum
how to move cell value to another cell in the selected Value

Hi

I have a hidden column name as hiddencount1

Suppose I selected row 3 and click one button the Hidden column cell Value is shifted to same row in different Cell

for Example

No hiddencount1 taskName Level1
1 22 test 11
2 33 design 12
3 44 Analysis 13
4 45 sddd 14

suppose I selecte the 2nd Row I want to move the hidden column cell value 33 to the Level1 column Cell Value

the Result should be like this
======================
No hiddencount1 taskName Level1
1 22 test 11
2 33 design 33
3 44 Analysis 13
4 45 sddd 14

Please suggest some solution for this

Thanks and Regards
Udhayabalachandar.c
Answer posted by Support on Apr 22, 2008 03:46
You can use next code
    var id=grid.getSelectedId();
    mygrid.cells(id,3).setValue( mygrid.cells(id,1).getValue) );