For a Windows Forms app I'm creating a "Google Suggest" type feature with a textbox and an UltraWinGrid. It's working pretty well, but I can't figure out one thing.If "mac" is typed in the textbox, the grid displays:Mac AttackBig MacLittle MacBurger Machine
I'd like to format the text in each cell like so:Mac Attack Big Mac Little Mac Burger Machine
Possible? Thanks.-Jeremy
Hi Jeremy,
You might be able to acheive what you want by setting the Style of the column to FormattedText. But then the Value of the cell would have to be some custom XML, so that might not work. It depends what you need from the cell value.
Mike, thanks for the response. The only thing I need from the cell is if clicked to return the value to the textbox.
I assume I could write some code to build the xml on the fly then set the cell to it's value. Can you point me to some sample code?
Another thought, is there another control that may be able to accomplish the same thing? I'm simply looking to show a filtered list with the filter text highlighted in each of the results. The highlighting is the challenge given the app is a windows forms app. FYI, the highlighting idea comes from gmail. It does this when adding address in the To: line.