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
180
Column Editing and Formats
posted

I have a column with a format = "p" for Percent.

When I type the number 7 into this column and move off the cell I see 700%

Is there a format to be applied when editing?

Also, I cannot use the keyboard to move to the next field.  I have to click with the mouse to leave editing.  Is there a setting to allow enter or tab to move to the next cell?

  • 69832
    Suggested Answer
    Offline posted

    The value for 1005 is actually 1.0, so typing in a 7 should actually yield a value of 700%. I think one of the UltraGridColumn.MaskInput presets might support percentages so that if the user enters a "7", it is interpreted as 7%, that is, the value is divided by 100 before being processed.

    The UltraGrid.DisplayLayout.TabNavigation property determines whether the tab key navigation between cells or to the next control on the form.