I have data setup like this..
Transaction
-Name
-ID
-Amount
-Tags <– Array of Tags
– Name
In a website, I could just loop through the tags and create spans of each tag with a link, I’m trying to figure out how to add this structure to a windows form application inside a XtraGrid (DevExpress)
Wanting it be like this..
ID
Name
Amount
Tags
1
MyTran
13.02
tag1 tag2 <– each tag would be a linklabel with seperate event calls
I’m not sure how to accomplish this.
You can use the GridView.CustomDrawCell Event to format you display text, but you should not edit these tags using the gridview editors. you can change the display text of the cell (the RowCellCustomDrawEventArgs.DisplayText parameter.
Check the custom drawing section links specified on GridView.CustomDrawCell Event documentation page.
Choose which approach suite you better. Hope this help.