We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前表格在启动行内编辑之后,如果有多行同时处于编辑态,进行表单校验时,只能通过tableMethods.getData()方式来触发:
tableMethods.getData()
function func(rowData, ctx, table) { const tableMethods = ctx.fn.getTableMethods({fieldId: 'tableId'}); const data = tableMethods.getData(); if (data.pass) { table.saveRow(rowData); } }
但是这个校验触发是整个表格的,其实当前操作知识想保存当前的这个row,这个row的数据校验有可能是通过的,但是整个表格其它row有不通过的也会导致当前这个row无法保存。
因此,希望能够提供单行校验的API,或者在rowData中能包含当前row是否通过校验的信息。
The text was updated successfully, but these errors were encountered:
eternalsky
No branches or pull requests
目前表格在启动行内编辑之后,如果有多行同时处于编辑态,进行表单校验时,只能通过
tableMethods.getData()
方式来触发:但是这个校验触发是整个表格的,其实当前操作知识想保存当前的这个row,这个row的数据校验有可能是通过的,但是整个表格其它row有不通过的也会导致当前这个row无法保存。
因此,希望能够提供单行校验的API,或者在rowData中能包含当前row是否通过校验的信息。
The text was updated successfully, but these errors were encountered: