I'm using OutSystems 11 and try creating a nested table.

It looks good but there is an error message.

Does anyone know how to fix this?


Hi DUC NGUYEN MINH,


may be this issue occur due to header property/value not set.

can you provide oml or code of images.


Regards

Rahul Sahu

Rahul Sahu wrote:

Hi DUC NGUYEN MINH,


may be this issue occur due to header property/value not set.

can you provide oml or code of images.


Regards

Rahul Sahu

Ok, I attached the oml file.


Use a list (for the Children) in stead:


Adam Noord wrote:

Use a list (for the Children) in stead:


Thanks for your answer.

I can use List to create a list of child data, but I want headers for those data too.

I debugged the OS code and found out the problem code.

File: TableRecords.js

Line 14: var rows = this.body ? this.body.getElementsByTagName("tr") : [];

It should be fixed like this to avoid the unexpected exception

Line 14: var rows = this.body ? this.body.querySelectorAll(":scope > tr") : [];

Line 19: rows[r].querySelectorAll(":scope > td")[h].setAttribute("data-header", text);