DataGrid dgTemplateFieldEditor

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
david.silmanBUSrUeQ
Posts: 44
Joined: Thu Jul 19, 2012 1:49 pm

DataGrid dgTemplateFieldEditor

Post by david.silmanBUSrUeQ » Wed May 08, 2013 10:53 am

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

Post Reply