Our pure JavaScript Scheduler component


Post by jedgeley »

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!


Post 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
                                            }
                                        }
                                    },

Post by sergey.maltsev »

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


Post Reply