Closed erik-seifert closed 2 years ago
First: Nice plugin.
But when i change the table, row are sorted different.
Table in Editor
| 1995 | 100 | 150 | 200 |
Output: {Chrome: 100, Mozilla: 150, Safari: 200, Years: 1995}
{Chrome: 100, Mozilla: 150, Safari: 200, Years: 1995}
Could be there:
https://github.com/datocms/plugins/blob/master/table-editor/src/types.ts#L52
The output is an hash, where order of properties is not guaranteed. Please use .columns to know the correct order to use!
.columns
First: Nice plugin.
But when i change the table, row are sorted different.
Table in Editor
| Years | Chrome | Mozilla | Safari |
| 1995 | 100 | 150 | 200 |
Output:
{Chrome: 100, Mozilla: 150, Safari: 200, Years: 1995}