Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Access Databinder Eval for Heirarchical Grid
posted

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