From f81feace364b8166e3a653b66e1d71f08a6bb533 Mon Sep 17 00:00:00 2001 From: Sergey Malgin Date: Thu, 28 Nov 2019 17:07:16 -0800 Subject: [PATCH] added orderChanged event --- src/grid/js/grid.rowReorder.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/grid/js/grid.rowReorder.js b/src/grid/js/grid.rowReorder.js index a4b20410..21adef37 100644 --- a/src/grid/js/grid.rowReorder.js +++ b/src/grid/js/grid.rowReorder.js @@ -193,6 +193,7 @@ gj.grid.plugins.rowReorder = { $grid.setCellContent(id, data.orderNumberField, record[data.orderNumberField]); } } + gj.grid.plugins.rowReorder.events.orderChanged($grid); } $trTarget.removeClass('gj-grid-top-border'); $trTarget.removeClass('gj-grid-bottom-border'); @@ -220,6 +221,12 @@ gj.grid.plugins.rowReorder = { } }, + events: { + orderChanged: function ($grid) { + $grid.triggerHandler('orderChanged'); + } + }, + public: { },