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

Sorting and Snake Case Headers #343

Open
pixelated-au opened this issue Dec 1, 2023 · 0 comments
Open

Sorting and Snake Case Headers #343

pixelated-au opened this issue Dec 1, 2023 · 0 comments

Comments

@pixelated-au
Copy link

I encountered an issue where my column heading value was named with snake case, not camel case. eg

[{ text: "TEST", value: "my_test_field", sortable: true},...] // <- Note the value

When I replaced the value with camel case, everything worked as expected.

[{ text: "TEST", value: "myTestField", sortable: true},...]

I believe this is a bug because the headings actually work with snake case. It just doesn't sort. My recommendation is to either disallow snake case (ie throw an error) or support snake.

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

1 participant