I'm getting the dreaded:
Deprecation warning: You are using a deprecated API which will change in v6.0.0. `gridRowDrop` event is deprecated, listen on this event on the Grid instead.
But I can't find any help in the docs on how to replace this call... what's the equivalent updated code needed?
This is the offending code, where I'm setting the rowReorderFeature config to this:
public reorderFeatures1 = {
showGrip : true,
listeners : {
gridRowDrop : async ({ context }) => {
// Here you have access to context.insertBefore, and additionally context.parent for trees
//console.log(context);
if(context.valid) {
//do stuff
}
}
}
}