tonytomov/jqGrid — comment on commit 11505bde8acdf2f16dc9b4b575395219c8c74974
File:  line 0
By OlegKi:

One more remark. It seems me better to modify [the line](https://github.com/tonytomov/jqGrid/blob/master/js/grid.base.js#L3369)

$($t).keydown(function(event){

to the usage of `jQuery.bind` with some namespace like `bindKeys` or `jqGrid_bindKeys`

$($t).bind('keydown.jqGrid_bindKeys', function(event){

then the unbinding in [the line](https://github.com/tonytomov/jqGrid/blob/master/js/grid.base.js#L3447) of `unbindKeys` can use the same namespace.

$(this).unbind('keydown.jqGrid_bindKeys');

So one will be sure that one will not unbind event handler which could be bound by other foreign code.

Best regards
Oleg