-
Notifications
You must be signed in to change notification settings - Fork 328
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Events in Wave tables not working without pagination. #1916
Comments
Hello @senalw. This is by design. The events should be fired only is |
Hi @mturoci, is this mentioned in the Wave documentation? I have a requirement of keeping time in |
Added it here - a1735a2.
I would suggest pushing back on the requirement as it's not a good practice UX-wise. Wave table supports internationalization out of the box, meaning the date format is displayed based on the user's locale rather than the hardcoded format.
You can't. You can either use pagination or |
@mturoci Thanks for the explanation.
Ok. So this time format should be consistent in all over the application. For example, I have to show the time in a |
@mturoci could you please assist on above? |
You need to use the same mechanism for displaying the date as used in table - internationalization (i18n). |
Yes, I'm asking do we have any mechanism to get the browser local time format from Wave SDK itself or do we have to depend on custom JS code? |
Try googling a bit before asking. That way, you can save us both a lot of time :) There are at least 2 ways of getting the user's locale:
Both are accessible in Wave. |
Yes, I can find a way it get from JS by googling. But I just wanted to know whether is there a data type like
Thanks for letting me know that both of above are accessible from Wave. 🙂 |
@shereezhang, as @mturoci mentioned in this comment, we can get the user's local browser time format using JS code and use it with |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Wave SDK Version, OS
Wave SDK: 0.24.2 , OS: MacOs
Actual behavior
Events in
ui.table
not working without pagination.Screen.Recording.2023-04-10.at.13.31.38.mov
Expected behavior
Any events that supported by
ui.table
should be worked even without pagination of tables.Steps To Reproduce
You can run the following code to create the issue:
The text was updated successfully, but these errors were encountered: