troubleshooting Question

A "dynamic sort" of TListView (or something similar)?

Avatar of shawn857
shawn857 asked on
33 Comments2 Solutions610 ViewsLast Modified:
Dear Experts, I want to create something sort of similar to the environment when you open up a CSV file in Microsoft Excel (where it asks for field delimiter, then shows explicit field divisions in the file snippet shown).
  What I'd like to be able to do exactly is have something like a TListView (or similar) whereas I could open up a text file, read in say 50 or so records, then write them to this TListView. Then have the user select what his "field delimiter" is via RadioButton, and then dynamically while he is making his selection, it will show "vertical lines" in the TListView separating each field according to the field separator the user chooses. The "headers" for each field of the TListView should be clickable and should be the exact same size as each field as designated by the user's choice of field delimiter. I would then like the user to be able to click on the header above each field and a drop-down menu gets displayed - which allows the user to assign a pre-set value to that field, or assign a custom value which he manually types in. Please see my attached screenshot - dynamically-sized clickable headers are drawn in black. Just clicking one of them (ie. my red arrow) would bring up the dropdown menu.
   A lot, I know! But is there some component that can allow me to do this?

Senior Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 33 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 33 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros