ordinary-sapphireO
Refine2y ago
15 replies
ordinary-sapphire

How can i transform "tableProps" when using "useEditableTable" hook with antd

I have the following hook definition:

  const {
    tableProps,
    formProps,
    isEditing,
    setId: setEditId,
    saveButtonProps,
    cancelButtonProps,
    editButtonProps,
  } = useEditableTable({
    resource: 'getusers',
  });


and I am trying to format tableProps.dataSource. The reason for that is because the response from getusers returns an object
Was this page helpful?