[HELP] Facing a datagrid bug

Andre Garzia andre at andregarzia.com
Tue Aug 16 11:44:14 EDT 2011


Thanks Bob and Trevor,

I am trying to pinpoint where the error happens... tried using a try/catch
block on the sort routine to no effect.

Here is a shot of the error when I try to order something:

http://andregarzia.com/shots/_datagridbug-20110816-124238.png

error in object expression, any clue?

cheers
andre

On Tue, Aug 16, 2011 at 12:35 PM, Bob Sneidar <bobs at twft.com> wrote:

> You can override everything about the datagrid. Copy the behavior script to
> a button in your own stack:
> set the behavior of button "myBehaviorButton" to the script of the behavior
> of group "dgMyDataGrid"
>
> Then set the behavior of your datagrid to the new button:
> set the behavior of group "dgMyDataGrid" to the long ID of button
> "myBehaviorButton"
>
> Now you can make the datagrid pop up grumpy messages every time you sort
> like, "I'm not in the mood." or "You sure are bossy!" if you like. :-)
>
> Bob
>
>
> On Aug 16, 2011, at 8:14 AM, Trevor DeVore wrote:
>
> >> Also, why can't we override the sorting routines?
> >>
> >
> > You can.
>
>
> _______________________________________________
> 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