It seems that, on a ListGrid, with autoSaveEdit:false, whose ListGridFields have canEdit:true, canToggle:true, the changed/change callbacks do not get called when the user toggles a boolean value (i.e. without going into edit mode).
This strikes me as odd, because surely the value *has* changed even though you haven't double clicked and gone into edit mode?
This matters in this case because when a boolean is set in one column, we must set the boolean in a different column to the opposite value. We can't find *anything* which gets triggered when simply "toggling" a boolean select (and we've wasted a man day on this so far).
One solution in this case might have been to use formatCellValue to return html radio inputs with matched IDs (which I have tried and it works) but of course, the form then doesn't pick up any changed values in input.
Totally stuck... please advise... so far SmartClient has amazed by coming up with the right solutions everytime, IF you know where to look. Will this be the case again?
This strikes me as odd, because surely the value *has* changed even though you haven't double clicked and gone into edit mode?
This matters in this case because when a boolean is set in one column, we must set the boolean in a different column to the opposite value. We can't find *anything* which gets triggered when simply "toggling" a boolean select (and we've wasted a man day on this so far).
One solution in this case might have been to use formatCellValue to return html radio inputs with matched IDs (which I have tried and it works) but of course, the form then doesn't pick up any changed values in input.
Totally stuck... please advise... so far SmartClient has amazed by coming up with the right solutions everytime, IF you know where to look. Will this be the case again?
Comment