Selecting a line in a datagrid also selects a line in another (same card)

Bob Sneidar bobsneidar at iotecdigital.com
Wed Nov 19 11:17:43 EST 2014


Do all the data grids have the same name? Did you copy/paste or clone them? I had issues with cloning data grids in the past so I do not do that anymore. I drag a fresh data grid from the tools pallet every time. Never had a problem since. 

Bob S


> On Nov 19, 2014, at 01:37 , André Bisseret <andre.bisseret at wanadoo.fr> wrote:
> 
> Bonjour,
> 
> I have a stack with 12 cards. On each card I have 3 data grids (tables).
> 
> First time I get the following problem :
> When I select a line in one of the 3 data grids, that triggers the selection of one line in the others data grids!!!
> 
> I tried to trap the message "selectionChanged" without any success.
> 
> I tried to put the following handler into the script of each data grid :
> on selectionChanged
> put cr & the target
> end selectionChanged
> 
> Then if I select one line in one data grid, I get the 3 names in the message box!!!
> 
> I am going crazy !
> how to get rid of this phenomena?
> 
> Thanks a lot in advance for any help
> 
> Best regards 
> André
> _______________________________________________
> 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