Carriage Return in datagrid data

Pete pete at mollysrevenge.com
Tue Jan 3 13:11:41 EST 2012


That would work but I'm getting the data from a database so I'll probably
just do it to the raw data before putting it into the datagrid and reverse
it out when I get the data to put back into the database.

On Tue, Jan 3, 2012 at 9:38 AM, Bob Sneidar <bobs at twft.com> wrote:

> Does this happen even when you use dgDataOfIndex or dgDataOfLine? If so,
> then this would be a great situation for copying the datagrid behavior to a
> button in the stack and then coding the copy of the behavior scripts to
> check for the existence of a CR and replace it with a vertical tab
> automatically, when setting the data, and back again when getting the data.
> In fact this would make a good addition to the datagrid library for some
> future release.
>
> Bob
>
>
> On Jan 2, 2012, at 5:20 PM, Pete wrote:
>
> > Wondering if anyone has a good technique for dealing with carriage
> returns
> > within data loaded into a datagrid column?  The dg takes the cr as the
> end
> > of the row which messes up the datagrid pretty badly.  Seems like there's
> > no alternative but to replace the cr with some displayable character but
> > maybe there's another way?
> >
> >
> > --
> > Pete
> > Molly's Revenge <http://www.mollysrevenge.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
>
>
> _______________________________________________
> 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
>
>


-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>



More information about the use-livecode mailing list