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
310
Formatting the column content of a treeview
posted

Hi Guys, with the datagrid of Infragistics, if I want to format the layout of a specific column, like adding an image, I use the PerformLayout event of the grid after it is populated.

This is what I am doing with the treeview.

  • Populate the treeview
    SetDataBinding ....
    ExpandAll ....
  • Resize the columns
    AfterDataNodesCollectionPopulated
                foreach (var column in e.Nodes.ColumnSetResolved.Columns)
                {
                    column.PerformAutoResize(ColumnAutoSizeMode.AllNodesWithDescendants);
                }

What I need to do now is to check the value of a specific column and change the cell content with an image.

What method should I use and how I can do it?

I would really appreciate if you have docs or tutorials about it, I am looking in my PC but nothing related to that. I have 2008 V3 controls.

Thank you