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

Way to name a the sortColumn property? #45

Open
dasPC opened this issue May 11, 2023 · 2 comments
Open

Way to name a the sortColumn property? #45

dasPC opened this issue May 11, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@dasPC
Copy link

dasPC commented May 11, 2023

Is there a way to modify the sortColumn value being sent to the server? I would like it to be possible to assign a name and not have to save the column key value server side.

Also another question is there a way to trigger a server request manually? I currently use datatable.search("") to do it but would prefer a more natural way of doing it. I want to pass some parameters to the server when I do something else in the page.

@dasPC
Copy link
Author

dasPC commented May 11, 2023

Correct me if I'm wrong but it looks like rn it's not possible?

image

@Trekky12
Copy link
Collaborator

Renaming the sort column is currently not possible, but feel free to submit a pull request.

Regarding your second question you could try datatable.update(). Is this the desired function?

@Trekky12 Trekky12 added the enhancement New feature or request label Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants