Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
613 B
1
Indexable
Never
const columns = [
  // {
  //   title: "#",
  //   dataIndex: "id",
  //   key: "id",
  // },
  {
    title: "#",
    dataIndex: null,
    key: "index",
    render: (text, record, index) => index + 1,
  },
  {
    title: "Name",
    dataIndex: "user_id",
    key: "id",
  },
  {
    title: "Activity",
    dataIndex: "activity_payroll_id",
    key: "id",
  },
  {
    title: "Created At",
    dataIndex: "created_at",
    key: "id",
  },
  {
    title: "Amount",
    dataIndex: "amount",
    key: "id",
  },
  {
    title: "",
    dataIndex: "",
    key: "payroll",
    slots: { customRender: "payroll" },
  },
];