Replies: 10 comments
-
Hello @senalw. This is by design. The events should be fired only is |
Beta Was this translation helpful? Give feedback.
-
Hi @mturoci, is this mentioned in the Wave documentation? I have a requirement of keeping time in |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
@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 |
Beta Was this translation helpful? Give feedback.
-
@mturoci could you please assist on above? |
Beta Was this translation helpful? Give feedback.
-
You need to use the same mechanism for displaying the date as used in table - internationalization (i18n). |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. 🙂 |
Beta Was this translation helpful? Give feedback.
-
@shereezhang, as @mturoci mentioned in this comment, we can get the user's local browser time format using JS code and use it with |
Beta Was this translation helpful? Give feedback.
-
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:
Beta Was this translation helpful? Give feedback.
All reactions