【问题标题】:{0:N0} format in kendo grid footer , MVC剑道网格页脚,MVC中的{0:N0}格式
【发布时间】:2017-03-12 18:41:28
【问题描述】:

我想在客户端页脚中以{0:N0} 格式显示我的网格列的聚合

    columns.Bound(p => p.DoctorCost).Format("{0:N0}").Title("Totall")
                                      .ClientFooterTemplate("#= sum # ").Format("{0:N0}");

但它不起作用......它显示的值没有任何格式。

【问题讨论】:

    标签: asp.net-mvc telerik kendo-grid kendo-asp.net-mvc


    【解决方案1】:

    我找到了:

     .ClientFooterTemplate("#= kendo.format('{0:N0}', sum)#")
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-11
      • 1970-01-01
      相关资源
      最近更新 更多