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

Change Grid Detail Template

1 Answer 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
CsHARPMan
Top achievements
Rank 1
CsHARPMan asked on 24 Oct 2012, 09:04 PM
I have a KendoUI Grid that has a detail template defined.  Is it possible to change the template on the fly?

I tried setting options.detailTemplate with a new template and also called refresh() but that didn't work.

Thanks,

victor

1 Answer, 1 is accepted

Sort by
0
CsHARPMan
Top achievements
Rank 1
answered on 24 Oct 2012, 09:13 PM
I was able to change the detail template by calling a private function _detailTmpl with the template and assign it to grid.detailTemplate.  I would say this is NOT a good way but this is the only workaround i can find.
Tags
Grid
Asked by
CsHARPMan
Top achievements
Rank 1
Answers by
CsHARPMan
Top achievements
Rank 1
Share this question
or