如何在 C# MVC 中使用 Jquery 获取网格中字符的长度

How to Get the length of the Characters in grid using Jquery in C# MVC

我想从下面的 Jquery 脚本中获取 Grid 中的字符数

即使我尝试了 length(data) 它表明长度是一个 属性 而不是函数,在删除函数后字符数显示为 0

{
                      
                      "sDefaultContent": "", "data": "fld_output_value", "width": 90, "title": "Output Length", render: function (data, string, full, meta) {
                          return length;
                      }
                  },

正如@R4ncid 所说

data.length