I am trying to show a thread of text messages sent/received in an Ultragrid (V12.1). I am using the card view with the card width less than the width of the grid, but large enough that only one card fits per "row". What I'd like to do is show all incoming texts (blnOutgoing=0 in one of the columns) on the left and all outgoing texts on the right, the way it is on many cell phones. I have no problem changing the text alignment and color for incoming/outgoing in the InitializeRow event but I don't know if it's even possible to do what I'm trying to do.
Anyone have a solution for this one?
Thanks Mike. I'm not familiar with CreationFilters but I'll take a look. I'm going to be out the office the next 10 days so it may be 2 weeks before I get a chance.
Hi,
The only way I can think of to do that would be to use a CreationFilter and mode UIElements. Are you familiar with CreationFitlers? If not, then there are a lot of them with sample code here in the forums. And I recommend that you get the Infragistics UIElementViewer Utility.
If you get stuck, see if you can post a small sample project here with a grid that shows some sample messages and I will be happy to take a look and see if I can whip up a sample CreationFilter for you.