How to set switchButton from dynamically data constructed ?

How to set switchButton from dynamically data constructed ?

Hi,

the value global (true or false) was constructed from a json, I don't know how to set the valye of each switchButton in a td, here is the fiddle :


Thanks.