How to monitor a ComboCell change ?
I set one of the column of the grid to the "Combo" Template, this works fine, but how can i be notify by a combo value change when the users selects on of the combos items ?
Olivier
November 28,
Yeah, I is looking for this one for so long...
Anybody has an idea???
Patrick kiken
December 6,
You can try with:
obj.onCellTextChanged=function(){alert('data changed')}
or:
obj.onCellValueChanged=function(){alert('data changed')}
Carlos
December 6,
I used the following code in one of my example pages to set the value in a different column on the same row. When the combo is changed it fires and gives me access to the row number too.
obj.onCellValueChanged = function(value, column, row){
this.setCellText("1", 5, row);
}
Rob Francis
December 7,
Rob
I am hoping to use "onCellValueChanged" so that I can change a cell based on change in a different cell etc..
This method appears in Alex's recent checkbox example (to display a simple message in the windows status bar). I notice, however, that, using this example, the method works OK in IE but not in FF. Have you experienced this - or am I doing something trivially wrong?
Thanks
Will
Will
December 7,
.... problem mentioned above seems to be something to do with displaying msg's in Firefox window.status bar, rather than with the method "onCellValueChanged" itself. I've managed to get it working in FF with simple alert msgs. Apologies.
Will
Will
December 7,
What about the case when the combo is not in a grid, but on plain page...
OnCellValueChanged won't work since not in the grid!!!
Lucas
December 7,
Lucas, did you try with?
obj.onControlTextChanged=function(){alert('data changed')}
Carlos
December 7,
Now that's much better...
Carlos, where do you find all the references to such methods???
Lucas
December 7,
Did it actually work? I have the same problem but no event is being fired?
Any help here?
Jack Mansons
June 7,