I suggest you ...

Prevent paging/sorting/filtering when cells have been edited

With a batch edit grid, it would be nice to have the ability to cancel a data operation if cells have been edited. Currently if the user edits some cells and then does a filter or paging operation before they save their changes, there is no way to warn them and prevent the operation from taking place. So they will lose their changes. Ideally, I'd like to have an event that fires before the read() operation is called on the datasource which would allow the read to be cancelled.

12 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Brian RothBrian Roth shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Kenshin, Kendo UI TeamAdminKenshin, Kendo UI Team (Admin, Telerik Kendo UI) commented  ·   ·  Flag as inappropriate

        Actually after consulting with a member of the Kendo UI team it appeared that such an event will not be appropriate as the grid operations are executed via the Kendo UI DataSource.

        What you can do for now is to wire the requestStart event of the DataSource component (currently undocumented) to notify the end user that any edits he made will be lost. Unfortunately there is no mechanism exposed to cancel any grid operation right now, however we will contemplate to allow this for the upcoming Kendo UI release when the requestStart event will be documented, too.

        I apologize that my previous suggestion was not accurate.

      • Brian RothBrian Roth commented  ·   ·  Flag as inappropriate

        Yes, that sounds perfect! Maybe with an e.preventDefault argument on it so that processing can be stopped if so desired.

      Feedback and Knowledge Base