I've got a treeview which is bound client side and displays checkboxes.
On page load I need to check some of them based on a condition.
'#= item.text #'
data is created like this :
text: item.someName, checked : checked
I can't add a "checked='#= item.checked#'" in the template because this will check everything regardless of what I have in item.checked - it's an html thing.
So how can I achieve this ?