Does a column needs to be in table definition for the editor?

Does a column needs to be in table definition for the editor?

klinglerklingler Posts: 90Questions: 42Answers: 2

Good afternoon (o;

Almost finished with the file uploading (o;

Let's say I display a table with just a few rows but want to be able to edit more columns that are displayed due to restricted display sizes...

Now my JSON returns also a "files" column which is not displayed in the table as many files can belong to a column.

But the editor seems to not like it when a column contains data which is not displayed, but in the JSON reply....
and the "Edit" button shows a spinning wheel forever and the console says:

uncaught exception: Unknown file table name: files

If the columns has no data then the editor dialog is launched...

thanks in advance
richard

Answers

  • klinglerklingler Posts: 90Questions: 42Answers: 2

    Seems to be something with the rendering....

    So I always need to append the "files" array as well to the table rows in the AJAX JSON?

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    That's right. It would be worth looking at this example, files is part of the response there.

    Colin

This discussion has been closed.