Hi,
I am using UltraWinGrid. Suppose there are 21 column in table, i want to display all the column in ultraGrid, if i do this normally, I have scroll so much horizantally to view last column.
Now, i need to know, is there a way to show my column in 2 or more rows.
e.g. 7 column in each row of header, 3 rows will contain all the 21 column, now same way record should be display in three rows according to header rows setting, what is the way of doing this....
Waiting for your early response.
Regards,Zahid
Hi Zahid,
Well, it's hard to give you step-by-step directions without knowing more. Are you going to be doing this at design-time or run-time? If it's design-time, your grid will have to have a data source at design-time so it can get the schema.Using RowLayouts at run-time can be pretty complicated, so you are better off doing it at design-time, and using the grid designer. But how you do this depends on whether or not your data source is available at design-time or not.
It also depends how you want to break things up. Do you want to divide the columns into groups? If so, you should use groups and levels. If not, then you should probably use RowLayouts.
I'm sure that there is documentation on both of these techniques and I would be happy to help you if you can tell me in more detail exactly what you want to acheive.
Thanks for the reply, can you give me the step by step example of doing what you have said, as i am a bit new to Infragistic Controls.
Thanks & Regards,
Zahid
Yes, there are two ways to do this:
1) Use Groups and Levels. Add a Group to the band (or more than one group) and set the LevelCount to 3. You can then assign each column to a group and move the column to a different level as you like.
2) Use RowLayouts. RowLayouts allows you to place columns in a very flexible layout structure within the row.