Hello support,
We are using ultratreeview with grid style. At some places the rows are showing double line, we got the following code, but here we are not making the columnset so it would not work for us.
ulTreeviewItems.NodeLevelOverrides(2).ColumnSet.ColumnSettings.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.None
Is there any other way to remove the row border ?
It is possible that this is a bug, and that it might have been addressed in a later build than the one you are using. If possible post a sample project that demonstrates the problem and we can take a look.
Hello Brian,
Thank you for your reply. We do want the row border, but we observed that for all the rows it is showing double line but only for last row it is showing single border line. We want the single border line for all the rows.
In the "ColumnSetGenerated" event we tried all the border styles but still for the last row it is giving a single border line and for others it is showing double border line. Following is the code we tried.
ulTreeviewItems.NodeLevelOverrides(2).ColumnSet.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Raised
Is there any way we can give single line to all the rows ?
The control fires the ColumnSetGenerated event when the column sets are generated by the data binding layer, so you can get a reference to the ColumnSet that way. Also, the Override class exposes a NodeBorderStyle property, which is the equivalent of row borders for UltraTree.