Batch Edit Issue

3 posts, 0 answers
  1. mvbaffa
    mvbaffa avatar
    102 posts
    Member since:
    Dec 2006

    Posted 12 Sep 2012 Link to this post

    Hi,

    I have a grid marked as Batch Editable. Only one cell is editable, I can do this by the field list of the Datasource like this:

    fieldList['cellname'] = { type: 'number', editable: true };

    It is working ok. When you change a cell in a row the Grid set a visual clue, like Excel, indicating that the cell has been changed.

    The problem is when you, before saving the changes, navigate to another, using the pageable control. If you return
    to the previous page the visual sign disappears. Internally the row is marked as dirty but there is visual sign
    anymore.

    How can I fix That ???

    If this is a known bug I need to detect the event of page change so that I can warn the user of non saved fields.
    How can I do that ???

    Thanks in advance

  2. Todd
    Todd avatar
    26 posts
    Member since:
    Sep 2012

    Posted 13 Sep 2012 Link to this post

    It's definitely a bug, and I'm sure Telerik is aware of it, but they haven't responded to this in the forum.  It will actually disappear in many situations (changing a value for a drop-down column, sorting, or using a custom cell editor where you manually update the model for that cell/field).

    What I did was just turn it off completely using CSS.  It needs to show all the time or not at all, otherwise it's confusing to the user.  It's a nice feature, so I hope Telerik can make it work reliably.

    CSS to turn it off:
    .k-dirty { display:none !important; }
  3. Kendo UI is VS 2017 Ready
  4. mvbaffa
    mvbaffa avatar
    102 posts
    Member since:
    Dec 2006

    Posted 13 Sep 2012 Link to this post

    Thanks, I have done the same
Back to Top