[HELP] Facing a datagrid bug

Andre Garzia andre at andregarzia.com
Tue Aug 16 11:23:18 EDT 2011


Trevor,

Thanks very much for the quick reply!!!! I will investigate this and will
post back to the list with my findings.

Thanks for the lesson link as well, I might create my own sorting for some
columns.

:-D

On Tue, Aug 16, 2011 at 12:14 PM, Trevor DeVore
<lists at mangomultimedia.com>wrote:

> On Tue, Aug 16, 2011 at 11:04 AM, Andre Garzia <andre at andregarzia.com
> >wrote:
>
> > This is happening here in three different projects all related to
> database
> > frontends. I have a card with a list of records. When for example I click
> > the header of column "Title", it will fail and die. I don't know why. The
> > datagrid should not fail like that. The array used is a really big one
> > maybe
> > a megabyte or two worth of information. It is basically text but it may
> > contain unicode characters. I am using that unidecode trick from the
> > documentation, the data appears fine in the datagrid.
> >
>
> The sorting routines just use the built-in sort command in LiveCode. My
> guess is it chokes on the unicode data. I don't think it will choke on
> UTF-8
> data. You can look at SortDataByKey in the "Data Grid" button of the
> "revDataGridLibraryStack" to see the code that is being executed.
>
>
> > Also, why can't we override the sorting routines?
> >
>
> You can.
>
>
> http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7330-How-Do-I-Customize-Column-Sorting-
>
> --
> Trevor DeVore
> Blue Mango Learning Systems
> _______________________________________________
> 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
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list