'How to Get the length of the Characters in grid using Jquery in C# MVC
i want to get the number of characters in Grid from the below Jquery script
Even though i tried by length(data) it shows that length is a property not a function after removing function the number of charaters are show as 0
{
"sDefaultContent": "", "data": "fld_output_value", "width": 90, "title": "Output Length", render: function (data, string, full, meta) {
return length;
}
},
Solution 1:[1]
As @R4ncid said its
data.length
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Manoj Kumar |