Hi Peter,
Thanks for the tip and for reframing the problem to provide mutually exclusive 
row selection, without the complexity of dealing with the checkbox. Nice! :-)
Best,
Keith..
 
On 7 Mar 2011, at 16:22, Peter Haworth wrote:

> Hi Keith,
> You might want to consider another approach than checkboxes in this 
> situation, depending on what you want to do with the checked row.  If you 
> just want to carry out some processing on the data in the selected row, you 
> can use the dghilitedline property of the datagrid to find out which row the 
> user has clicked on and take whatever action you want.  Make sure the 
> multiple lines property  for the datagrid is not selected and use the 
> selectionChanged event to check the dghilitedline.  If there are multiple 
> things you might want to do with the selected row, use a popup menu activated 
> by a right click (more complicated).
> 
> Pete Haworth
> 
> On Mar 7, 2011, at 2:55 AM, Keith Clarke wrote:
> 
>> BTW For this list, I want these Row-Select checkboxes to be 
>> mutually-exclusive - so that if one is set to true, those in all other rows 
>> are cleared. Where should I place such a script - against the _ColumnData_ 
>> object or the data grid group level?
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to