Tagged: , , , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #101691
    fimarapp
    Member

    Dear Smart HTML super Team!
    How are you? Hope you are doing great ^^ would like to know if it’s possible to set date and time in a column, right now I only can set date but it shows only the year/month/day without hour. Is it possible? Shall I use a basic string?
    Thanks for your time and great work!
    Johnny Johnny

    #101715
    admin
    Keymaster

    Hi,
    The Table component when it displays a Dates in the column, the Data can be formatted by using a formatFunction. Example about that functionality is available on that page: https://www.htmlelements.com/demos/table/overview/
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

    #101720
    fimarapp
    Member

    Thank you so much, after checking I’m gonna set directly the data as needed with a string for this case (without the formatFunction)
    toLocalISOString(date).replace(‘T’, ‘ ‘)
    But I see the formatFunction really helpful, please have a nice rest of the day!
    Johnny Johnny

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.