Hi
I am working on a desktop application using c#.NET. I am using UltrawinGrid in one of my screens. I want one row UltraGrid to consist of multiple rows. In other words I want there should be multiple rows in one UltrGrid Row i.e more vertical space within UltraGrid Row. Is there any way I can set the height of UlrtaGrid Row. Is there any solution available?
Thnx in advance
Azif
Hi Jared,
No, you can't span the entire row using groups, because no cell can span outside a group.
You could do this using RowLayouts. The best way to do this is to do it in the designer and just drag and drop the columns around. Trying to set up a RowLayout in code can be very complicated, especially if you are not familiar with gridbaglayouts.
Mike,
I am trying to do what you're describing here. I am using groups and levels to display "stacked" columns in my grid. I would like some columns to span the entire row though. I have a LevelCount of two and I am adding my stacked columns to the groups with levels 0 and 1. Can I add a column to a group and have it span both levels?
If there is no way to do this with groups and levels, can you point me in the right direction for doing this with RowLayouts?
Thanks!
Jared
Hi Mike
Thank you so much.
This is exactly what I wanted.
Thnak you so much once again for your time and concern.
Hi Azif,
Oh, okay, it sounds like you want the user to enter multiple lines of text into the same cell. In that case, you need to set the CellMultiLine property.
First of all thank you so much for your response.
Maybe I could not make myself clear. Let me explain.
Right now I start entering in a grid row all the data is entered in the same text row. Even if I press enter cursor does not move to the next text line. By pressing Tab I move to the next Grid Row. I want grid Row to be like a textBox where I can preset Height and width and user can enter multiple lines of text within one row of grid. I also tried to bind TextEditor with UltraGrid from grid's EditorControl property, but may be this is not the proper way. Can you guide me.
And if you still think the solution provided by you is correct then kindly explain it briefly because I had added grop and setting its LevelCount is not helping i think.
Thank you so much once again