anyone?
and one more thing, i have set the datasource at runtime.
each item in that source has a list of other objects, it turns out that
the grid displays child bands for each of the list members, where
I can expand and unexpand. How to prevent that from displaying.
What exactly do you mean by the alignment of the column header? Do you mean the alignment of the text in the header? That's controlled by the HeaderAppearance. There's properties on the appearance for TextVAlign, TextHAlign, ImageVAlign, and ImageHAlign.
Yes the text in the column header, I think by default it is Center, I want it to be left align.
I write this code in the grid InitializeLayout method
e.Layout.Bands[0].Columns["colKey"]...... header text left align. I dont know how to do it.
And how can I set the utragrid to multiselect rows, and then how can I get the objects in the
selected rows? Thanks in advance and more power.
Thank you. I have one more problem and I cant figure out the solution.
Im supplying the data source at runtmine (it is an IList). Everytime I remove
an Item to that List the grid updates(remove row) but when I added Item to the
List, the grid doesn't update (no new row being created).
I tried the Update and UpdateData in the grid but nothings happen.
How I am going to do this?
You can set the column.Header.VisiblePosition.
The InitializeLayout event is a good place to do all of this.
Wheeeewww!! Awesome, Thanks
One more thing, how can I manipulate the order of the columns
in the grid, im binding the data source at runtime.
Hi ...
''for header text alignment
UltraGrid1.DisplayLayout.Bands(0).Override.HeaderAppearance.TextHAlign = Infragistics.Win.HAlign.Left
''to multiselect rows
e.Layout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect
UltraGrid1.DisplayLayout.Bands(0).Override.SelectTypeRow = Infragistics.Win.UltraWinGrid.SelectType.Extended