Page 1 of 1

DataGrid dgTemplateFieldEditor

Posted: Wed May 08, 2013 10:53 am
by david.silmanBUSrUeQ
Hi all

Just when I think I'm getting used to datagrids they start acting out. This time it's to do with setting the text type of the dgTemplateFieldEditor

Code: Select all

command EditValue
   set the dgTemplateFieldEditor["unicodeText"] of the dgControl of me to the unicodeText of me
   if there is a field 1 of me then
      EditFieldText the long ID of field 1 of me, the dgIndex of me, the dgColumn of me
   end if
end EditValue
As far as I can tell when looking at the data grid lessons (in particular this one: http://lessons.runrev.com/s/lessons/m/d ... 16-or-html)
I can't see what I'm doing wrong, but it comes up with an error

"Error: Object does not have this property" This is a huge pain as I need to be able to edit the text in that cell as unicodeText.

Any ideas?

Thanks
David