Dynamic table columns not giving full changesetarray

Hi i have a table in which i have few static columns as well as few dynamically generated columns based on data from api. When i make changes in this table, the dynamic columns doesnt appear in the changesetarray unless there is an actual change in that column. I have enabled include full rows in changesetarray. All the static columns always appear on the changesetarray but not the dynamic columns. Is this a bug?

@Krishna_Priya_S Only the columns that are edited will be included in the changeSetArray; otherwise, they will not appear in the changeSetArray.

But i have enabled 'include full row in changesetArray' option, which should ideally give me all the rows with changes in its entirety. Or is that option not applicable to dynamic columns?

I just tried using a full row in changeSetArray, and I received all columns in the changeSetArray (I edited the role and got all columns). Have you selected the primary key?

Can you confirm if your columns are dynamic or static? The full row data does give all the static column values but not the dynamic columns values unless those dynamic columns are edited.

I believe if you want to see the full displayed set of data from a table you will need to use table.getDisplayedData() from within a JS Query or transformer. I haven't checked to see if this produces the dynamic columns properly, but it should.

My use case doesn't need all the displayed data, i just need the full row data of those rows which have been edited. This would work fine when i use static columns and and enable 'include full row in chagesetarray' option. However when i use dynamic columns(columns that are populated based on api response) along with the include full row for changeset option, it doesn't give me the required changeset.

All columns are editable, while the Location column remains static. If you pass a null value for the static column, it will not appear in the changeSetArray.

Can you please show your table columns config?

Hi @Krishna_Priya_S, are we still having this issue?

Hey! Signed up to +1 this issue,

When configuring columns manually, if I turn on Include full rows in changeset array, the full row changed is included in the changeset array.

However, when using dynamic columns, they are not included in the changeset array unless a value is edited in those columns.

Hi @Daniel_Alvarez, welcome to the forum! :wave:
I added your +1 to the internal feature request, we'll update you here with any news.

Thank you!

I'm also having this issue

1 Like