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

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,280
Latest member
BGBBrock56

Latest Threads

Top