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
710
How to set the default value of ture for add new row on a checkbox field
posted

How to set the default value of ture for add new row on a checkbox field.  The default value is set to true for that field in the SQL Server database. 

Thanks.

 

Parents
  • 33839
    Suggested Answer
    posted

    Hi bridsimon,

    Are you using 11.1 and the new BoundCheckboxField?  If this is the case, you should add a RowAddingColumnSetting to the ColumnSettings for the RowAdding behavior.  Set the ColumnKey to the key of the checkbox field.  And set DefaultValueAsString="true".

    regards,
    David Young 

Reply Children