Thanks a bunch Testn, That worked alright, since I was using VB.NET I had to modify it slightly to make it work, I
have posted the changes below. Ok I have two questions regarding the new column:
1) It seems the checkboxes are all greyed out, I have tried doing something like col.IsSelectable but that does not work, could you tell me how to enable choosing the textboxes?
2) I would probable need to add a row above I think which gives the user an option like "select all"
Let me know if you can help me out with this, esp the checkboxes being grayed out, thanks a lot again.
Main Topics
Browse All Topics





by: testnPosted on 2008-01-04 at 19:33:21ID: 20587685
to add a column, hook up to InitializingLayout event
yout(objec t sender, Infragistics.WebUI.UltraWe bGrid.Layo utEventArg s e) bGrid.Ultr aGridColum n col = new Infragistics.WebUI.UltraWe bGrid.Ultr aGridColum n(true); Insert(0,c ol);
private void UltraWebGrid1_InitializeLa
{
if (!this.IsPostBack)
{
// Add an unbound column to the grid that will show the check box images
Infragistics.WebUI.UltraWe
col.Key = "CheckBoxColumn";
col.Header.Caption = "Check me";
e.Layout.Bands[0].Columns.
col.Width = Unit.Pixel(110);
}
}