Premium support for our pure JavaScript UI components


Post by bensullivan »

Hi

What is the best event to listen on so we can handle some business logic when rows in the Brytnum Grid are reordered? My best guess at the moment is the sort event emitted by the Grid Store.

Thanks

Ben


Post by pmiklashevich »

If you're using https://www.bryntum.com/docs/scheduler/#Grid/feature/RowReorder (drag and drop the rows), it will fire change event on the store with "add" action and index/oldIndex params.

If you move events using move API function, it will fire move event.

There is a ticket to fix the inconsistency: https://github.com/bryntum/support/issues/1602
You can use any event according to your needs.

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply