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

Parents
  • 16310
    Verified Answer
    Offline posted

    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.

Reply Children
No Data