On Mon, Mar 28, 2011 at 2:40 PM, Peter Haworth <[email protected]>wrote:

> When I double click on the column to edit it, the editor field contains the
> truncated text, not the complete text so when I get the new value in
> CloseFieldEditor, I end up putting a string ending with the "..." chars
> instead of the full text.
>

The field editor just grabs the current value of the field being edited. If
you want to override it take a look at this lesson:

http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/10101-How-Can-I-Edit-The-Text-as-UTF-8-UTF-16-or-HTML-

You can change the default value by setting one fo the dgTemplateFieldEditor
properties. Look at htmltext, text, utf8text and unicodetext under
"Template Field Editor Properties" in the proeprties docs:

http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7343-Data-Grid-Properties


-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
LiveCode Resources for Developers: http://livecode.bluemangolearning.com
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to