Hello,
I have an Ultra Web Grid (v6.3.20063.53) on an ASP.NET 1.1 form. So far it's working to my liking but now I have some more client-side functionality that I'm having trouble implementing.
Specifically, I need to disable a check box in Column 1 unless there is a value > 0 in column 7. Column 7 is a calculated column (which is working just fine).
I thought I could use InitializeRow event on the client side but that doesn't seem to fire when the grid is bound. So I've used InitializeRow on server side, using the AllowEditing property for the cell, and initially the checkboxes are disabled as I need.
However, I can't seem to get them to re-enable with the setEditable method in the client script I'm trying (which is firing from the AfterExitEditModeHandler script). I don't see an AllowEditing property on the client side, have I missed it? Or is there another way to accomplish what I'm attempting?
Thanks.
-Chuck
Chuck,
Your idea should work, not sure what's going wrong but you should probably contact the Infragistics Developer Support Department (www.infragistics.com/gethelp)
You can also try a slightly different technique, which involves canceling the beforeEnterEditMode event on the client-side, if the constraint isn't met. I believe this should work for a checkbox, but if not try using the valuechanged event and cancelling that.
-Tony