Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatted value #340

Closed
zatopek-firstis opened this issue Aug 17, 2023 · 1 comment
Closed

Formatted value #340

zatopek-firstis opened this issue Aug 17, 2023 · 1 comment

Comments

@zatopek-firstis
Copy link

zatopek-firstis commented Aug 17, 2023

Hi, I got an issue regarding formatting.

While processing in your core, all values get formatted by format function (tableState.format) and returns correct value. But then I have no means to access that formatted value in childComponents.cell or childComponents.cellText and I have to format it again to get the right display value.
Can you please add formattedValue to cellText and cell?

@zatopek-firstis zatopek-firstis changed the title Formatting, formatted value and filtering formatted values Formatted value Aug 17, 2023
@komarovalexander
Copy link
Owner

Hi @zatopek-firstis format is used by CellText, and formatted value is generated inside that component. You are doing it right way "I have to format it again to get the right display value" because you override cellText behavior and format is not called anymore by Table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants