imgui icon indicating copy to clipboard operation
imgui copied to clipboard

Are angled headers reorderable?

Open dstromberg opened this issue 1 year ago • 1 comments

Version/Branch of Dear ImGui:

v1.90.6 WIP

Back-ends:

GLFW (wasm)

Compiler, OS:

Linux + Emscripten emcc 3.1.59

Full config/build information:

No response

Details:

My Issue/Question:

I would like to combine the use of reorderable columns with angled column headers.

What I see with angled headers is highlightable column headers, but the columns don't move if I try to drag them - when using ImGui::TableAngledHeadersRow();

However, if I change from ImGui::TableAngledHeadersRow(); to ImGui::TableHeadersRow(); then I can drag columns.

Is this a known issue? Is it a yet-to-be-implemented feature?

Screenshots/Video:

screenshot

Minimal, Complete and Verifiable Example code:

My smallish project is at https://stromberg.dnsalias.org/svn/to-table3/trunk/

And you can see a runnable version of the project at https://stromberg.dnsalias.org/~dstromberg/WebGui/imgui.html

dstromberg avatar May 28 '24 16:05 dstromberg

It's a known issue, some features are not accessible from the angled header row. But you can submit a a regular TableHeadersRow() below TableAngledHeadersRow(). The cells will be empty but will allow those interactions to occur.

ocornut avatar May 28 '24 17:05 ocornut