If I let flexmonster infer types for a set of columns with data (in the case that I do not set a type for any column) is there any function or api call to get the types that flexmonster guesses for each column (string, number, etc)? Thanks for your help
Thank you for writing to us!
Currently, there is no API call to get the types for each column.
Could you please specify the importance of this feature for you?
It’d be nice to have, I’m creating a feature where a user will be able to specify what type they want a column to be, and if I let flexmonster default those types, then I can show the current type in the dropdown. Worst case, I do my own logic to try to infer types of data and set it explicitly before sending to flexmonster, but I’d rather not redo work flexmonster is already doing for me
Thank you for the details, your case is clear.
Actually, there is the
getAllHierarchies() method that returns a list of all hierarchies.
We can add a new `type` property for each hierarchy object.
Please let us know if it will work for you.
Hey Ian, that would be great! I think having the type returned on getAllHierarchies would do the trick!