Question

Hey S.O! I realized my child nodes are not being indented - they are on the same level as the root nodes. Here's a screenshot:

alt text

As you see, the childnodes are on the first level's Indent. FixedIndent is OFF, so thats not whats causing it..

Any suggestions?

Thanks!

Was it helpful?

Solution

It looks like the check boxes are indented slightly. Keep in mind that the control only indents one column. All other columns are treated like ordinary table columns. Set the Header.MainColumn property to 1 if you want the "Full Name" column to be the one showing indented items. Then set the Indent property.

You can also handle the OnBeforeCellPaint event. Adjust the dimensions of the ContentRect parameter.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top