This is a migrated thread and some comments may be shown as answers.

Grid (Custom) Popup closing(updates happening) after input/select change

2 Answers 220 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 16 Nov 2016, 04:59 PM

Hi there,

http://dojo.telerik.com/OfiRE/4

The above is just an example, every grid with popup in my application is closing directly...
- after select of a value from a dropdown
- after focus out of an input where I typed something

I found, that the update function is called directly.
Normally, the update should happen by clicking the popups update button.
Is there anything I'm missing?

Thanks & BR,
Daniel

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 18 Nov 2016, 06:47 AM
Hi Daniel,

The described behavior is caused by setting the dataSource.autoSync option to true. This causes any changes, made to a data item, to be automatically saved and synced. Removing the discussed option (or setting it to false - the default) prevents the autosyncing:

http://dojo.telerik.com/OfiRE/6

Regards,
Dimiter Topalov
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
0
Daniel
Top achievements
Rank 1
answered on 18 Nov 2016, 08:11 AM

Hi Dimiter,

thank you for the help, I should've read more precisely in the API docs :)

BR, Daniel

Tags
Grid
Asked by
Daniel
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Daniel
Top achievements
Rank 1
Share this question
or