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
20
Display Rows Vertically
posted

I have an object collection of objects with a single member (say Name) as the only field in it. I bind it to the ultra grid and the results are displayed as a sing column multiple rows with each object string value in each row. That is the default behavior. I want to swap the alignment and display the values as a single row.

 The Current Display is

Allen

Stevens

Phil

 I want it to display it as

Allen           Stevens               Phil

Just swap the way rows and columns are displayed. Is there a way to achieve this and if so any small code sample would be a lot helpful.

  • 469350
    Offline posted

    The grid displays the data yougive it based on the structure of the data source. So you would need to create a data source where you have a single row (object in a list) with multiple properties - one for each string you want displayed in the row.