• Resolved OSD

    (@osd)


    Currently in my table I have a column as 1,2,3,4,5,6,7,8,9,10,11,12 but would like to change it to 01,02,03,04,05,06,07,08,09,10,11,12.

    Is this at all possible to adjust a leading zero by use of css within WpDataTables ?

    • This topic was modified 1 year, 5 months ago by OSD.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter OSD

    (@osd)

    • This reply was modified 1 year, 5 months ago by OSD.
    Plugin Author wpDataTables

    (@wpdatatables)

    Hello, and thanks for reaching out to us.

    Sorry for the late response.

    At this time, it is not possible to change the format of the numbers in the table.

    With the full version of the plugin, you would be able to configure Conditional Formatting rules, and change 1 – 9 to 01 – 09.

    Please note that this feature is not available in wpDataTables Lite.

    Thread Starter OSD

    (@osd)

    @wpdatatables Thanks for the feedback, I had already tried this option and indeed the 0 shows in the table but unfortunately it does not work when searching within the search block, even with exact filtering enabled.

    Plugin Author wpDataTables

    (@wpdatatables)

    Hi again.

    Yes, that is correct, the plugin will search only for actual values, not the values added with conditional formatting.

    At this time, there’s no way to change that behavior.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Omit leading zeros per column.’ is closed to new replies.