Best data import approach

Magicgate Software - Skip Kimpel skip at magicgate.com
Sat Mar 30 20:09:48 CDT 2013


So I found the column that was being "forced" into sorting.  I deleted that
column and re-created it and voila!   Pulling my hair out for something
like this drives me crazy!

One last thing, is there a way to have it scroll all the way down to the
bottom of the data contained within the DataGrid instead of starting at the
top?

Thanks for your help!


On Sat, Mar 30, 2013 at 9:03 PM, Mike Bonner <bonnmike at gmail.com> wrote:

> Hmm. Not sure why its forcing your hand as far as sorting goes in the
> inspector.  Assuming you're defined your column names theres a checkbox
> down low in the sorting section for each column, and to get no sorting I
> just make sure theres no check in the box for each column. (which is the
> same thing that setting the sort to empty should do)
>
> Just did a test and shoved some data in, worked as expected with no sorting
> so something else must be turning on the sort, I just don't know where that
> would be.
>
>
> On Sat, Mar 30, 2013 at 6:54 PM, Magicgate Software - Skip Kimpel <
> skip at magicgate.com> wrote:
>
> > Mike,
> >
> > For sure, I don't want it sorted and as of right now.  I have been using
> > that line that you just sent this whole time but it still is being sorted
> > when it comes into the grid.  At what point should I be calling that?  I
> > have tried before and after the "set the dgText of group...."
> >
> > Is there something else that would be overriding the sorting order?  In
> the
> > inspector it actually forces me to choose at least one column to sort by.
> > I just want it in the order that is written in the log file I am reading.
> >
> > SKIP
> >
> >
> > On Sat, Mar 30, 2013 at 8:47 PM, Mike Bonner <bonnmike at gmail.com> wrote:
> >
> > > You don't want it sorted?  It should be popped into the datagrid in the
> > > order that the lines appear. If there is unwanted sorting going on you
> > > could try do do this after the data is imported..
> > >
> > > *set* the dgProp["sort by column"] of *group* "DataGrid 1" to empty
> > >
> > > More info here:
> > >
> > >
> >
> http://lessons.runrev.com/s/lessons/m/datagrid/l/9148-how-do-i-disable-column-sorting
> > > _______________________________________________
> > > 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
> >
> _______________________________________________
> 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