Problem with editing a field in a datagrid

Peter Haworth pete at mollysrevenge.com
Mon Mar 28 22:00:19 EDT 2011


Thanks Trevor, I can figure it out from there.

Pete Haworth

On Mar 28, 2011, at 6:08 PM, Trevor DeVore wrote:

> On Mon, Mar 28, 2011 at 2:40 PM, Peter Haworth <pete at mollysrevenge.com>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
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 





More information about the use-livecode mailing list