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
705
Help using CardView for vertical grid display...
posted

I have a C# app where I give the user the option to switch to CardView.  Doing this allows the data to appear vertically which some of our users like to make comparisons, etc.  However, when my users resize the grid and make it larger, the records no longer stay in one "row"; instead stacking on top of each other (hence CardView I guess). 

Is there a way to specify that all cards stay side-by-side no matter how the grid is sized?  This wouldn't be a problem if I locked the grid size, but I start the grid in a conventional manner of being Excel like in presentation.  Only when a user clicks a button do I change to CardView and thus lose the side-by-side style of the records.

Thanks!

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted


            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                e.Layout.Bands[0].CardSettings.MaxCardAreaRows = 1;
            }

Children
No Data