Closed chrisOnWheels closed 1 week ago
Thank you for your issue! It seems like a good feature! We will talk about it inside our R&D team
Hey @FlorianJacta, is this feature required, may I give it a try to add this?
@FabienLelaquais @FredLL-Avaiga Could this issue be assigned?
It certainly can. The thing is, it is far more complicated than it looks since the conversion to string has to be performed on the server side, which is going to be a problem. Especially for the edition part. But hey, let's move forward yes.
Hey @FabienLelaquais @FlorianJacta , I've a doubt in this, like instead of letting the user provide the format function, can we provide our own format functions? like, we can have some functions which renders a specific number of rows that the user requires or something like that?
If the user passes the format function, then will it be possible to implement that?
I am not sure I understand your issue @yaten2302. We want a function that converts all values of the rows of a column into other values that will be the ones displayed.
@FlorianJacta actually, I'm not completely able to understand this? Could you please explain this once again - "We want a function that converts all values of the rows of a column into other values that will be the ones displayed."?
We want to use a user function to format column values. Just, like the example written in the issue.
Maybe you already understand it this way, and I am just overcomplicating it.
Currently Taipy uses printf style formatting in tables
This could be extended by allowing functions, like in <|selector|adapter={...}>
Such functions might even return images
Background:
I'd like to have floats formatted like 9.999,99 which seems not possible using pure printf style syntax in Taipy. Taipy doesn't support %'d to get locale aware thousands separator. AFAIK printf doesn't support thousands separators in floats.