I managed to kludge it after searching google with various permutations:

Bind to the individual grid column:
<cfajaxproxy bind="javascript:noteChange({documentGrid.is_restricted})">

React to the bind change:
<script type="text/javascript">
function noteChange(restricted) {
        var restrictBoolean;
        if (restricted == 1) {
                restrictBoolean = true;
        } else {
                restrictBoolean = false;                
        }
        document.getElementById('formRestricted').checked = restrictBoolean;
}
</script>

Stripped down form checkbox input:
<cfinput name="formRestricted" type="checkbox" />

If I can do it with the built in functionality then why isn't it there working 
properly on a bind?  Some sort of consistency would be nice. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304328
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to