Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1415
Autogenerated=True but enable some checkboxes
posted

I have a grid where I'd like to keep using Autogenerated=true when binding to my datasource.

I've set the Fieldsettings to AllowEdit=false to prevent inline fields being edited, but I would like to enable some checkboxes given its data.record meets a particular condition.

For example:  Enable checkboxes only when Id > 100 (dashes are disabled checkboxes, brackets are enabled checkboxes)

chkbox      Id     Date              otherstuff...

-             20     1/10/2015      test

-             99     1/5/2015       stuff

[v]          101    1/4/2015       notes

Is this possible?  And can I bind a command to the checkbox event to capture this change while conforming to MVVM pattern?