我们如何 select 使用 ngx-formly 构建的数据表中的一行
How can we select a row in datatable builded with ngx-formly
File contain data with ngx-formly
我必须从后端进行 API 调用,实际上是删除调用。对于这种情况,我需要从必须 select.
的行中获取详细信息
在这种情况下,我需要从 selected 行获取 ID。
fields: FormlyFieldConfig[] = [
{
key: 'investments',
type: 'repeat',
templateOptions: {
通过添加解决
(select)="to.selectFN($event)"
喜欢下面
<ngx-datatable
#table
class="bootstrap"
(select)="to.selectFN($event)"
File contain data with ngx-formly
我必须从后端进行 API 调用,实际上是删除调用。对于这种情况,我需要从必须 select.
的行中获取详细信息在这种情况下,我需要从 selected 行获取 ID。
fields: FormlyFieldConfig[] = [
{
key: 'investments',
type: 'repeat',
templateOptions: {
通过添加解决 (select)="to.selectFN($event)"
喜欢下面
<ngx-datatable
#table
class="bootstrap"
(select)="to.selectFN($event)"