RexUI GridTable and custom item containers - not working correclty

Hi there,

i’ve tried this example:

i dont want to use the RexUI label (or other rexUi containers), but my custom containers.
So i just return my “Container” elemente for each cell, but this seems to break all the behavior of the gridtable…

Look at this example:
https://jsfiddle.net/ragesoft/7jgcyfd0

How can i manage to use my custom containers (or if needed, where do i need to place them to be correclty handled? Inside some other rexUI container??)

Thx a lot!
Greetings!

I dont know why, but i’ve managed to get it working.

This is the working code:
https://jsfiddle.net/ragesoft/98ekd1ju/

Only change i’ve made:
Instead of creating my container inside the “Items” function (with “this” as scene), i create it in the “createCellContainerCallback” with “cell.scene”.

But shouldn’t be “this” and “cell.scene” be the same in there respective context?

:slight_smile:

They are :slight_smile:
But the Button will have different offsets depending on creating before/during createCellContainerCallback. I guess the scene has changed by then…