Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Uwe on Feb 06, 2008 04:52
open dhtmlx forum
mygrid - print row or parts of row

Hi,

I want to bring parts of a row into a popup window after a update event (calendar) and print this data with a labelwriter!

Any idea to do that?
Answer posted by Support on Feb 06, 2008 06:46
I'm not sure about exact functionality which is necessary in your case, but you can catch the moment when data changed by next code

    mygrid.attachEvent("onEditCell",function(stage,id,ind,val){
       if (stage == 2 && ind == INDEX ) { // INDEX - index of column in question
          //this code called after data in necessary column changed
          // id - id of row where data changed
          // you can get cell values by grid.cells(id,0).getValue()
          // and show them where necessary
       }
       return true;
    });