Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
549 views
in Technique[技术] by (71.8m points)

javascript - Kendo Grid嵌套到多级获取错误模板无效(Kendo Grid nested to Multilevel getting error Invalid Template)

I'm trying to add nested grid upto level 2 with kendo but getting Invalid Template error on bottom most grid.

(我正在尝试使用kendo将嵌套网格添加到级别2,但是在最底部的网格上出现无效模板错误。)

Here is my code:

(这是我的代码:)

<script id="ScriptID" type="text/kendo-tmpl">
   @(Html.Kendo().Grid<ViewModel>()
              .Name("gridName")
              .DataSource(dt => dt
                .Ajax()
                .Read(read => read.Action("ActioName", "Controller"))
                )
              .ToClientTemplate()

        )
</script>
  ask by Agony translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...