JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid Vue Data Grid — dataTypes aren’t being applied

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #107220
    TomAcx
    Participant

    I’m loading up a Vue data grid with a large amount of data, but the dataTypes for my numbers, floats and integers doesn’t seem to be working consistently.  See image below.

    Three numeric fields

    All three are defined in columns[] as

    • number_active_agents: 1001
    • number_sites dataType = float
    • agent_tenure dataType = float

    I notice that once I bind my data to the grid, and look at my data object in DevTools, something has overwritten the dataTypes to “string.”  But only two of the three!  See below.  Two have been changed to “string” and the other flipped from “float” to “numeric.”  What’s going on?  How do I prevent this?

    Overwritten data types

    • This topic was modified 1 year ago by TomAcx. Reason: images didn't work
    #107224

    Hi,

    That is a strange behaviour, may you send us the grid’s settings along with some data to test?

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

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