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

feat(sort): Adding sorting on clicking column header #63

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Itzaprado
Copy link
Contributor

Change log:

[ ] Sort function added on clicking on column header
[ ] Add validation to apply sorting when is not a transposed table

@Itzaprado Itzaprado requested a review from yesudeep December 6, 2024 18:48
@Itzaprado Itzaprado requested a review from a team as a code owner December 6, 2024 18:48
@Itzaprado Itzaprado force-pushed the itzaprado/FR-306401843-table-report branch from 3d72bc6 to dd3d4aa Compare December 6, 2024 18:53
// Here goes the sorting then the vis is built again
// If order = true => ascending
// If order = false => descending
const updateSorting = (order, key, pivot) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've not deeply looked at this but I wanted to understand if this is following the traditional looker behavior that the sort is done on the client if the results are less than the limit but if the results are more than the limit then the sort has to re run the query first?

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

Successfully merging this pull request may close these issues.

3 participants