this works in a REGULAR grid
protected void wdgAgComOrders_InitializeRow(object sender, Infragistics.Web.UI.GridControls.RowEventArgs e) { if (DataBinder.Eval(e.Row.DataItem, "ShippingDone").ToString() == "1") { e.Row.Items[0].CssClass = "CellColorGreen"; }
}
but on an hierarchical grid I get an error at
DataBinder.Eval(e.Row.DataItem, "ShippingDone").ToString()
How do I access the underlying data source rows?
I notice there is an e.Band
do I use e.Band. something? thanks
I found it! I was clicking "initialize Band" Thanks for making me take a second look!
Sorry!
Hi Roger,
I don't see when e would contain e.Band. I tested this with a Hierarchi lca grid, also referenced the RowEventArgs, where only Row is listed as a member of the corresponding class.
Please provide a sample reproducing the error, so that we can help you further.