I have a grid . There i have column if i double click the particular column i needs to call my custom function that will do some operations. just like if we click button certain operations is happening right. Likewise i needs to do! Can you please suggest me on this!
Support Forum
I found the solution: May be it will help for some beginners.
While double-clicking the column there u need to perform any custom methods/functions you can refer the below code :
Solution :" cellDblClick" add this against your column
listeners: {
cellDblClick: ({ column }) => {
if (column.field === 'column name') {
alert('test');// your logic
}
}
},
Hi!
Yes, you are right.
If you need cell actions you may use cellDblClick Event listerner.
https://www.bryntum.com/docs/scheduler/#Grid/view/mixin/GridElementEvents#event-cellDblClick