This is a migrated thread and some comments may be shown as answers.
for loop in ClientTemplate
3 Answers 95 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jordan
Top achievements
Rank 1
Jordan asked on 08 Oct 2010, 09:16 PM
I have a collection of data to display in an expanded details view.  I don't see anything in the documentation, is it possible to do a loop in the client template?  If not, is there any way to use jquery templates (they support looping).

Thanks,
Jordan

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 11 Oct 2010, 07:36 AM
Hi Jordan,

 You can embed any JavaScript code in the client-side template. Please check this forum thread which shows how to do that.

 For now we do not support jquery templates. We will support them once they go official with jquery 1.5. 

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jordan
Top achievements
Rank 1
answered on 11 Oct 2010, 08:32 PM
The inline javascript works well.  Thanks!
0
Jordan
Top achievements
Rank 1
answered on 12 Oct 2010, 06:37 PM
One more thought, it would be great if the inline javascript technique was added to the Grid - Client Detail Template and Hierarchy documentation! It would have helped me a lot.
Tags
Grid
Asked by
Jordan
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Jordan
Top achievements
Rank 1
Share this question
or