datatable serialize

Hi,

I want to get all fields in my datatable.serialize() - JSON.
But I only get keys, which are filed with values.
Is it possible to get all key fields, even if they are empty?

Reverse considered, what’s the best way to force the user to fill all fields with data?

Thanks
Thomas

Or is there a way to iterate over all rows with the getItem()-function?

You can use eachRow method if all rows are visible or iterate directly through the datastore.