How would you go about merging adjacent listbox cells? In the example below I have three headers with two sub-headers for each. I would like to make the header cells straddle their two respective sub-headers (sorry for the poor description, I’m thinking in Excel terms).
If you want the header to always stay at the top, the simplest way is to use two listboxes with the top one having the first header row and th second the sub-header and data rows…
That is easy unless you want resizable columns or horizontal scrolling which takes some work.
My class will merge regular cells across both rows and columns … but can not do anything with the listbox header.
That’s what I did previously for a different app. I wasn’t sure if I could use a similar approach, but after rethinking what I need, I am trying that. What I need is a table I can format during design, it will not be resized at runtime; so I believe this approach will work. Thanks for the tip. I am, however looking at the two grid/listbox plugins as they seem pretty flexible.