ngModel will make control value flicker when using single click edit

Hi,

I make a simple:
https://stackblitz.com/edit/angular-nvv5ze?file=app.component.ts

If I use the ngModel for the "ejs-textbox", "ejs-numerictextbox", "ejs-datepicker", the control value will  flickers when click single click.
If I change the ngModel to value, the control will not refresh.




Can you process the Flicker problem ?

Attachment: gridclickrefresh_91acfa73.rar

1 Reply 1 reply marked as answer

RR Rajapandi Ravi Syncfusion Team April 21, 2021 01:11 PM UTC

Hi lorryl, 

Greetings from syncfusion support 

We have analyzed your query and we found that you have bind the mousedown event in the load event of Grid. In this event you have call the endEdit() method and call the startEdit() method it will lead to flickering when we are clicking repeatedly on the same row. To overcome the issue, we suggest you use the rowSelected event of Grid. Please refer the below code example and sample for more information. 


rowSelected(args){ //it triggers when the row is selected 
      this.grid.startEdit(); 
    } 



Regards,
Rajapandi R


Marked as answer
Loader.
Up arrow icon