kendoGridInCellEditing - disable editing cell on click

1 Answer 37 Views
Grid
horváth
Top achievements
Rank 2
Iron
Iron
horváth asked on 28 Dec 2023, 07:58 AM

Hi,

you have the kendoGridInCellEditing, which is very handy. I use it in my project. But I have one issue with it. As per declaration if I click on a simple grid cell, the directive sets the clicked cell in edit mode. How can I prevent this?

 

1 Answer, 1 is accepted

Sort by
0
horváth
Top achievements
Rank 2
Iron
Iron
answered on 05 Jan 2024, 02:56 PM

I got it:


this.config.cellClick$ = this.grid.cellClick.subscribe((cellClickEvent) => {
      console.log('belép');
      this.grid.closeCell();
      this.resetState();
    });

Tags
Grid
Asked by
horváth
Top achievements
Rank 2
Iron
Iron
Answers by
horváth
Top achievements
Rank 2
Iron
Iron
Share this question
or