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

Sorting in incell editing edit mode

1 Answer 165 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pranjal
Top achievements
Rank 1
Pranjal asked on 31 Jan 2015, 10:09 AM
Hi,

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?

Regards,

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 03 Feb 2015, 12:48 PM
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.

Regards,
Alexander Popov
Telerik
 

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.

 
Tags
Grid
Asked by
Pranjal
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or