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
1635
How to disable dropdown calender of grid column
posted

I'd like to remove the dropdown calender of grid column of which datatype is datetime,

but I can't find any property of this.

Please let me know how to do it.

Parents
No Data
Reply
  • 23930
    Verified Answer
    Offline posted

    Hello,

    Thank you for contacting Infragistics Developer Support.

    What you could do in order to remove the calendar dropdown from a DateTime columns, is to set the CellDisplayStyle property to PlainText or FormattedText. This will show only the text and not the DateTime editor. You can do that using code like:

                               ultraGrid1.DisplayLayout.Bands[0].Columns["Date"].CellDisplayStyle = CellDisplayStyle.FormattedText;

    Please let me know if you have any additional questions.

Children
No Data