gridColumns1.json 666 B

123456789101112131415161718192021222324252627282930313233343536
  1. [{
  2. "text": "Name",
  3. "flex": 1,
  4. "dataIndex": "name",
  5. "width": 100,
  6. "xtype": "",
  7. "items": null
  8. }, {
  9. "text": "Email",
  10. "flex": 0,
  11. "dataIndex": "name",
  12. "width": 100,
  13. "xtype": "",
  14. "items": null
  15. }, {
  16. "text": "Phone",
  17. "flex": 0,
  18. "dataIndex": "phone",
  19. "width": 100,
  20. "xtype": "",
  21. "items": null
  22. }, {
  23. "text": "Actions",
  24. "flex": 0,
  25. "dataIndex": "",
  26. "width": 50,
  27. "sortable": false,
  28. "xtype": "actioncolumn",
  29. "items": [{
  30. "iconCls": "x-fa fa-check green",
  31. "handler": "onApprove"
  32. }, {
  33. "iconCls": "x-fa fa-check red",
  34. "handler": "onDecline"
  35. }]
  36. }]