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
2490
ColumnStyle.Time
posted

Hi,

When the user edit cell time is always error if the user don't enter ":" character.

How can I automatically enter data ":00" if the user does not enter the character ":"

  • 23930
    Offline posted

    Hello,

    I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.

    Thank you for using Infragistics Components.

  • 23930
    Offline posted

    Hi,

    Thank you for contacting Infragistics Developer Support.

    What you could do in your case is to handle the BeforeExitEditMode event of the grid and check if the cell has a Time style. If it does, you can fill the minutes manually by substituting the PromptChar of the column with “00”.

    I have attached a sample which demonstrates this approach.

    Please let me know if you have any additional questions.

    WG_TimeStyleColumn.zip