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

Incell/Inline edit

1 Answer 428 Views
Grid
This is a migrated thread and some comments may be shown as answers.
kyle
Top achievements
Rank 1
kyle asked on 26 Apr 2017, 09:49 PM
Is there a way to use inline edit when creating a new row, and incell edit for all other editing? I want to use incell editing without batch editing so that changes are immediately written back to the server, but when a new record is created, it gets committed to the db as soon as you click from the first field to the second, which leaves a scenario where there is a record with only part of the data. I can stop this from getting committed on the backend, but then there is no visual cue for the user that the row was not committed.

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 28 Apr 2017, 02:28 PM

Hello kyle,

I am afraid that mixing both edit modes is not possible with the Kendo UI Grid. What I can suggest is to have incell edit mode set for the grid, but implementing the actual "add row" functionality with custom code. For example you can have a few input fields outside the grid and when user is done populating these input fields to use the add method of the Kendo UI DataSource to add an object to the grid's data. The object added to the DataSource should contain the values typed in the input fields. 

Regards, 
Boyan Dimitrov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
kyle
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or