Hai all,
I need to insert a link label inside a grid. Is it possible to do that. The problem is the link data is going to be fed by a database and the link lable should come at the first column of the grid. Is there any way to do that. Please help with some code samples if possible. Thank you in advance for all your help.
I'm not able to get a link label appearence with this approach. Is there any changes i should make in the code. And also Could you help me how i could handle the event on some mouse click and others. Cause i'm new to infragistics controls. Thank u so much for your help.
You could set the Style property of the column to FormattedText, then set the column.Header.VisiblePosition to 0 to make sure that it's the first visible column. Your best bet would be to do this in the InitializeLayout event:
private void ultraGrid1_InitializeLayout(object sender, InitializeLayoutEventArgs e){ UltraGridColumn column = e.Layout.Bands[0].Columns[0]; column.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.FormattedText; column.Header.VisiblePosition = 0;}
-Matt