views:

953

answers:

1

I'm using the Add Form to add records to my JQGrid. One of the fields is a checkbox. Does anyone know how to have the checkbox to be defaulted to checked when the form displays. I thought it would use the onInitializeForm event and the setCell method but I'm having no luck. Thanks.

A: 

Found it:

     beforeShowForm: function(eparams) {
         document.getElementById('calc_next_svc').checked = 'true';
     }
 }, // add options
MikeD