Is possible to assign wijmo fexgrid column as DateType Int?

Posted by: arun.sunny on 30 July 2020, 10:09 pm EST

  • Posted 30 July 2020, 10:09 pm EST

    Hi team,

    When we assign a wijmo column as DateType.Number, user is allowed only to enter decimal numbers.

    I have a requirement to allow only integer in a wijmo coumn.
    Is it possible configure a column to allow only integer entry?

    Arun Sunny

  • Replied 3 August 2020, 4:59 pm EST

    Hi Arun,

    There is no way to set integer as the data type of a column. But, you can set the format of the column to 'd' and it will only display and save the integer part of the value. You may still be able to enter a decimal value but it will be saved as integer.
    Please refer to the sample link below for reference:

  • Replied 4 August 2020, 9:28 pm EST

    Hi Ashwin,

    I tried 'd' format.
    If I enter decimal value It displays only integer, but it saves decimal value.
    Can we restrict saving of decimal value some way?

    Arun Sunny
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels