admin管理员组文章数量:1335840
this is sample one field. When it turns editable goes to another component where this field turned into { header: 'GUI App Name ', accessorKey: 'guiappname', dataType: 'text', validation: yup.object().shape({ guiappname: yup .string() .matches(/^[A-Za-z]+$/, 'Only alphabetic characters are allowed') .required('This field is required') }) },
return (
<TableFW
id="expanded-gui-profile-details-table"
title={`${guiProfileName}'s Application List`}
columns={columns}
data={tableLoading ? [] : tableDatas}
striped={false}
filename={`${guiProfileName}'s Application`}
enableSorting={true}
enableMultiSort={true}
pageIndex={0}
pageSize={5}
pageList={[5, 10, 20, 30, 40, 50, 100]}
enableRowSelection={true}
enableMultiRowSelection={true}
enableHiding={true}
stickyHeader={false}
stickyFooter={false}
enableGlobalFilter
hasExportPDF={operationNames?.includes('PDF')}
hasExportCSV={operationNames?.includes('Excel')}
refreshedOn={refreshedDateTime}
refreshMethod={getGuiAppDetails.refresh}
isRowEditable={true}
updateOperation={editGuiAppOprinProfile}
ExpandComponentProps={operations}
//onFieldChange={handleFieldChange}
/>
); }
本文标签:
版权声明:本文标题:next.js - In Tanstack table when a row is editable, how to get formik props dirty,errors,values of all the fields of that row - 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742366526a2461397.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论