Guys,

  I used 'this' to replace 'eval'. Please enlighten me on following 
issue:
   For:
   datagrid.dataProvider.getItemAt(0).schdule_name = "04/01/09"
   I want to be done like this:

   this("datagrid.dataProvider.getItemAt(0)." + dataGrid.columns[1]) 
= "04/01/09"

   It gave me an error message. After research, I found out it seems 
you can only put this around an object not a property. Is it right? If 
yes, how I can solve this issue? I used eval in javascript before, 
seems it can be used anywhere. This is different.

Thanks in advance,

Fudong 

Reply via email to