258
Views
5
Comments
Solved
Table widget inside another table widget
Question

Hi All

I am working on a reactive application and it has  a table record in it. In a particular column of that table I have another table.

It is working fine when I don't have any data in second table. But as soon as there is data in the second table, "cannot read property setattribute of undefined outsystems" error is thrwon. How to get rid of the error?

2026-01-15 03-18-59
Vijay Malviya
Solution

Hi Shubham,

You can try that example once in the list record.

I have attached an oml please look it once.


Vijay M-


ListTable.oml
2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi Shubham Agarwal,

What is the Source List of each of the Tables? Two different lists or the same list?

UserImage.jpg
Shubham Agarwal

Jorge Martins wrote:

Hi Shubham Agarwal,

What is the Source List of each of the Tables? Two different lists or the same list?

 Hi Jorge 

Basically the structure is like this:


I have a structure which has many attributes. One of the attribute is a list of another structure.

And I am receiving data from Rest API. So in the main table I have the parent list as a source and for a particular record I have made a webblock in which I am passing the secondary list(attribute) for another table.

 So for the above eg I am displaying demo list as parent and for that particular record I am passing current.Attribute2(a full list) in the child webblock(which has second table).

2020-04-15 19-07-26
Eduardo Rodrigues

Hi,

Are you using any components of the outsystems UI?

And one more question, you put the second table through a Block, right?

I've had this problem once when trying to use the "AccordionItem" component without using the "Accordion" component.


Hope this helps.

2026-01-15 03-18-59
Vijay Malviya
Solution

Hi Shubham,

You can try that example once in the list record.

I have attached an oml please look it once.


Vijay M-


ListTable.oml
2021-08-12 11-00-27
Nordin Ahdi
 
MVP

Just an FYI, this bug has been fixed in Platform Server version 11.10.0 or later.

  • Fixed "Cannot read property 'setAttribute' of undefined" error when creating nested tables with Table Records widget in Reactive Web App. (RTAF-2995)

Regards,

Nordin

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.