Sorting Columns

JB sundown at pacifier.com
Tue Mar 3 19:21:46 EST 2015


Thanks Bob!

Any explanation is helpful since
I am fairly new to data grids.

The commas are thousands delimiters.

John Balgenorth


On Mar 3, 2015, at 4:13 PM, Bob Sneidar <bobsneidar at iotecdigital.com> wrote:

> dgData returns an array. dgText returns delimited text. if the commas are thousand delimiters, then strip them. I’ve often thought of trying to implement a “displayAs functionality for Datagrids, like Excel does, where the value is one thing but the display is another. Your situation really underscores the need for this.
> 
> Bob S
> 
> 
> On Mar 3, 2015, at 06:18 , dunbarx at aol.com<mailto:dunbarx at aol.com> wrote:
> 
> An easy way is to extract the full dataset, perhaps with the "dgData". This will give you a tab and return delimited list. Then you might sort by a function:
> 
> _______________________________________________
> 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