diff --git a/lib/amd/src/auto_rows.js b/lib/amd/src/auto_rows.js index 634fb34e829..1532ad2d791 100644 --- a/lib/amd/src/auto_rows.js +++ b/lib/amd/src/auto_rows.js @@ -80,7 +80,7 @@ define(['jquery'], function($) { if (rows != currentRows) { element.attr('rows', rows); - $(document).trigger(EVENTS.ROW_CHANGE); + $(root).trigger(EVENTS.ROW_CHANGE); } }); };