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
795
Ultragrid cell appearance - Dotted line under the text of the each cell
posted

I need dotted line under the text of each cell. Something link url link that need to be dotted  line rather fixed horizontal straight line.   My code goes as follows.

 

   ultraGrid1.DisplayLayout.Bands[0].Columns[colIndex].CellActivation = Activation.NoEdit;
                            Infragistics.Win.FormattedLinkLabel.UltraFormattedTextEditor urlLinkEditor = new Infragistics.Win.FormattedLinkLabel.UltraFormattedTextEditor();
                            urlLinkEditor.TreatValueAs = Infragistics.Win.FormattedLinkLabel.TreatValueAs.URL;
                            urlLinkEditor.LinkClicked += new Infragistics.Win.FormattedLinkLabel.LinkClickedEventHandler(urlLinkEditor_LinkClicked);
                            urlLinkEditor.UnderlineLinks = Infragistics.Win.FormattedLinkLabel.UnderlineLink.Always;
                            urlLinkEditor.LinkAppearance.ForeColor = Color.Black;
                            urlLinkEditor.VisitedLinkAppearance.ForeColor = Color.Black;
                            urlLinkEditor.ScrollBarDisplayStyle = Infragistics.Win.UltraWinScrollBar.ScrollBarDisplayStyle.Never;
                            ultraGrid1.DisplayLayout.Bands[0].Columns[colIndex].EditorComponent = urlLinkEditor;

 

 

I am getting the fixed line under the text but not dotted one. It would be really helpful if someone help me to acheive this. Thanks!