An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
onColumnDrag : (event) => {
console.log(event.context.valid); // Always true here
console.log(event.insertBefore); // Always the same once event.context.valid is set to false
if (event.insertBefore) {
event.context.valid = false;
}
},
And now try to drag the age column towards right and you can see that the insertBefore is always the city column.
Forum post
Go to the basic grid example and use this code:
And now try to drag the age column towards right and you can see that the insertBefore is always the city column.