I have a class named Student, it has several properties along with the property "isSelected:Boolean"
and the class is defined Bindable.
[Bindable]
[RemoteClass(alias="portal::Student")]
public class Student
In an mxml application I have a datagrid in which its dataprovider has been set to an ArrayCollection of Students. I have a column of checkboxex for the datagrid along with a headerItemRenderer checkbox which is supposed to select all the students (all checkboxes in rows should be selected or deselected).
I have defined a handler for the click event of the checkbox in the header which sets the isSelected property of each Student object in dataProvider to false or true. But on click of this check box in the header, I get the warning: unable to bind to property 'isSelected' on class 'Student' and therefore check boxes in rows do not get updated.
I don't get why the binding does not work here and don't know what to do to fix this issue. Any help is greatly appreciated.