Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
355
Horizontally aligning cards on different rows depending on value in row
posted

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?

Parents
  • 469350
    Offline posted

    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.

Reply Children
No Data