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

what is correct method to sort IP Address ? #76

Open
AkashMartin1 opened this issue Jun 27, 2014 · 2 comments
Open

what is correct method to sort IP Address ? #76

AkashMartin1 opened this issue Jun 27, 2014 · 2 comments

Comments

@AkashMartin1
Copy link

what is correct method to sort IP Address column ?

@AkashMartin1 AkashMartin1 changed the title How to sort IP Address ? what is correct way to sort IP Address ? Jun 27, 2014
@AkashMartin1 AkashMartin1 changed the title what is correct way to sort IP Address ? what is correct method to sort IP Address ? Jun 27, 2014
@paramquery
Copy link
Owner

There are 2 different ways:

  1. keep it as integer in data and format it as IP address in the view with help of column.render callback

or

  1. use custom sorting

@AkashMartin1
Copy link
Author

could you please give small example ?

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

2 participants