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!
Re: Onclick on Grid column
Posted: Tue Jun 30, 2020 2:57 pm
by jedgeley
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
}
}
},