Guest User

Untitled

a guest
Nov 17th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. eventService.checkser(PostRequest).then(function(response){
  2. $scope.gridOptions = {
  3. dataSource: {
  4. data: $scope.chkStsRes.responses,
  5. schema: {
  6. model: {
  7. fields: {
  8. Phone: { type: "string" } ,
  9. PhoneNumberType: { type: "string" }
  10. }
  11. }
  12. },
  13. pageSize: 10
  14. },
  15.  
  16. scrollable: true,
  17. sortable: true,
  18. columns: [
  19. { field: "PhoneNumber", title: "Phone Number", width: "130px",cellFilter: 'phonemask'},
  20. { field: "PhoneNumberType", title: "Phone Number Type", width: "80px" }
  21. ]
  22. };
  23. });
  24.  
  25. <kendo-grid options="gridOptions" id="searchGrid">
  26. </kendo-grid>
Add Comment
Please, Sign In to add comment