Z-index not populating to html

Trying to work with z-index to have different parts overlap.

Not sure if I am doing something wrong, but if I set an object to have a non-zero z-index, it doesn't come through to the source. Setting to zero seems fine.

Running 8.1.35

image
image
image

Perspective doesn't directly allow setting the z-index of components. The closest you will get is how the Coordinate Container manages z-index relative to other components within the same container.

I'm fairly certain I have done this successfully doing CSS injection, I think, I honestly don't remember. My use case was I wanted the component being hovered to be on top.

Perhaps be more specific on your use case, other than you are just trying to set z order. Someone might have a clever idea or workaround.

Trying to create a 6 pixel wide resize area between objects in a flex container acting as column headings. Intended area is for resizing the columns in the table. Unfortunately a regular table will not suffice, so I can't just use that.

Knowing that z-index doesn't work, I'm thinking just a 3px box on either side (with some exceptions) that will decide which object to adjust. I expect this will be pretty ugly though. Any other suggestions would be very welcome.

Why won't a table work?

I haven't touched this project in a little while, but if I recall it was because I couldn't embed views in a table.

But you can embed views in tables. Not just as subviews, but also as alternate rendering for table cells. Many advantages, including "virtualized" row display.

1 Like

Hmmm, looking at my previous post for this project is jogging my memory. This is supposed to display the results of a recursive CTE which has indeterminate depth. Anywho, that led me down the road of using a viewcanvas or a flex repeater. Both worked well for displaying the column data with the multiple levels required. I'm adding headings and resize capability, so that's how this question came about.

I'm going to reach at some straws here. It may have been an inability to embed views in a recursive fashion or not being able to line up columns of a subview to a main view.

For reference, this is what I'm trying to accomplish:

Yep definitely can't nest views in themselves.
image

I think there was another reason though. My gut says I should be able to store the query data and apply a sort to that data for display without using nested views, but still display recursive data.

So, there's probably something else. I'll have to look back at my notes. Anyway, appreciate the help. As far as this topic is concerned, I can see that z-index is not a route forward.

Ok, I remember that post. No good solution. No recursion for you!