Incell/Inline edit

2 posts, 0 answers
  1. kyle
    kyle avatar
    1 posts
    Member since:
    Jul 2014

    Posted 26 Apr 2017 Link to this post

    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.
  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2062 posts

    Posted 28 Apr 2017 Link to this post

    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. 

    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.
Back to Top