Hi,
I need to specify different height to the grid rows dynamically. Presenlty when I am setting row height (e.Row.ChildBands[0].Band.Layout.Override.DefaultRowHeight), it is applied to all rows within that band.
Is there any way to set rows to different heights?
Base Requirement: I need to develop a hirarchical grid..where when a row is expanded, a child row shows a content editor control (basically a richtext box). As the content grows in the editor, I need to expand the editor control (to avoid scrolling) and so as the grid row.
So basically I need to set the row height based on the content size.
Regads,
Balraj
Hello Balraj,
Maybe one possible way to achieve desired behavior could be if you set property:
ultraGrid1.DisplayLayout.Override.RowSizing = Infragistics.Win.UltraWinGrid.RowSizing.Free;
and than apply different height for the rows. For example:
ultraGrid1.DisplayLayout.Rows[2].Height = 50;
ultraGrid1.DisplayLayout.Rows[3].Height = 20;
Let me know if you have any questions
Thnx a lot!
It worked!
Thanks for the feedback. If you have any further questions, do not hesitate to write us