Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

294
Vistas
How to Change Button Text in the EditableProTable in Ant Design Pro

Im creating a Editable ProTable with Ant design pro and i cannot find any solution for change the button text.enter image description here

<EditableProTable
          rowKey="id"
          headerTitle="Add Reciepients"
          maxLength={5}
          recordCreatorProps={{ lang: 'en' }}
          columns={columns}
          request={async () => ({
            data: data,
            total: 3,
            success: true,
          })}
          value={dataSource}
          onChange={setDataSource}
          editable={{
            type: 'multiple',
            editableKeys,
            onSave: async (rowKey, data, row) => {
              console.log(rowKey, data, row);
              await waitTime(2000);
            },
            onChange: setEditableRowKeys,
          }}
        />
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

To change the button text you need to use props recordCreatorProps and set the value for the creatorButtonText field:

<EditableProTable
  rowKey="id"
  headerTitle="Add Reciepients"
  maxLength={5}
  recordCreatorProps={{ lang: "en", creatorButtonText: "add row" }}
  columns={columns}
  request={async () => ({
    data: defaultData,
    total: 3,
    success: true
  })}
  value={dataSource}
  onChange={setDataSource}
  editable={{
    type: "multiple",
    editableKeys,
    onSave: async (rowKey, data, row) => {
      console.log(rowKey, data, row);
      await waitTime(2000);
    },
    onChange: setEditableRowKeys
  }}
/>
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda