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

Why does detail template contents refresh when you sort/group by/filter the grid?

1 Answer 79 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 03 May 2012, 12:33 PM
Hi,

We are a small development team in China and are currently considering purchasing a copy of KendoUI's awesome widgets.  We met up with some problems while developing using the Grid.  I'm sorry, but we don't have any jsFiddle samples available.

I am using the Kendo Grid together with the detail template.  The detail template contains a HTML table with input fields in each cell.  Whenever we try to sort/group by/filter the grid, we realized that the change event of the data source is fired!  This "side-effect" refreshes the detail template and causes all of our input fields to empty out.

Is this the proper behaviour?  If so, how would we prevent the refreshing of the detail template/data source?

Regards,
Mark Huang

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 04 May 2012, 10:49 AM
Hello Mark,

Please refer to

http://www.kendoui.com//forums/ui/grid/can-i-prevent-the-detailtemplate-s-render-when-i-sort-the-grid.aspx

All the best,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Mark
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or