Change orientation datagrid

G

Guest

I need to create a report in a datagrid that displays some data in vertical
orientation, for example

STATE CITY
Florida Miami
Florida Miami
Florida Miami

that only Florida appear in all the rows, but in vertical orientation in all
the column cells that it use.

Thanks.
 
E

Eliyahu Goldin

I assume the grid is already sorted by state.

Handle PreRender event. Loop through the grid items, find the first
occurrence of a state, leave it, keep looping, replace state value with
empty string in all next items until you encounter one with different state.

You can set vertical text direction with css rule writing-mode:tb-rl

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top