jQWidgets Forums

jQuery UI Widgets Forums Grid Editor OnChange in FireFox Reply To: Editor OnChange in FireFox

Editor OnChange in FireFox #51007

msalvatore
Participant

Hello Peter,

I changed the code as suggested, but the event is still not raised in FireFox.

{ text: 'Display Name', datafield: 'DisplayName', renderer: columnsrenderer, width: '50%',
           createeditor: function (row, cellvalue, editor) {
                  editor.jqxInput();

                   editor.on('change', function (event) {
                        alert('change');
                        var cVal = editor.jqxInput().val();
                                
                        var scp = angular.element('[ng-controller="TableFieldDefinitionCtrl"]').scope();
                         if (scp == null)
                             displayError("TableFieldDefinitionCtrl scope null!");

                         scp.update('DisplayName', cVal, row);
                            });
                        }
                    }
}