SyntaxFix
Write A Post
Hire A Developer
Questions
I did it in following way :
success: function (result) { response($.map(result.d.slice(0,10), function (item) { return { // Mapping to Required columns (Employee Name and Employee No) label: item.EmployeeName, value: item.EmployeeNo } } ));