tonytomov/jqGrid — pull request #565 by giJbruns (2014-01-23 23:13:21+00:00)
Title: Bug fix for click event for subgrid expand being bound multiple times when virtual scrolling.

When using virtual scrolling and subgrids, when scrolling down and the grid is adding new rows, i starts over at 1 and rebinds the click event for the expand button. This causes the click event to get fired multiple times (as many times as additional rows were added when scrolling, and if two times the expand happens, then the collapse happens and you never see the subgrid). Adding a simple unbind before binding will eliminate this, and allow the expand button to work properly.The "click" event was namespaced to eliminate future bugs if namespacing this event was used in the future.