Sorting in incell editing edit mode

2 posts, 0 answers
  1. Pranjal
    Pranjal avatar
    2 posts
    Member since:
    Feb 2014

    Posted 31 Jan 2015 Link to this post


    We are using the Kendo UI Grid with batch editing mode (in-cell).

    The problem is when the user is editing a cell and in edit mode, if the user tries to sort the column, the editor control disappears along with the validation.

    We need to show the validation in the grid till the validation rules are not satisfied.

    Our requirement is that the control should remain visible even if the user sorts the grid.

    Or can we disable sorting on the grid when the user is in edit mode?

    Can you please give a good solution for this?

  2. Alexander Popov
    Alexander Popov avatar
    1445 posts

    Posted 03 Feb 2015 Link to this post

    Hi Pranjal,

    Basically, clicking the column header applies new sorting option to the DataSource, which in turn forces the Grid to be redrawn. This behavior is expected and currently it is not possible to override it using built-in options. You could however, achieve similar behavior by using the Grid's edit, save and cancel events to cover the header with a transparent div as explained in this forum thread.

    Alexander Popov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top