Skip to content

add getDetailsString()#1

Open
symbiogenesis wants to merge 2 commits intoDataTables:masterfrom
symbiogenesis:master
Open

add getDetailsString()#1
symbiogenesis wants to merge 2 commits intoDataTables:masterfrom
symbiogenesis:master

Conversation

@symbiogenesis
Copy link

@symbiogenesis symbiogenesis commented Oct 9, 2020

This allows you to see the details in a human-readable syntax. Recursively handles all groupings.

Something like:

((fieldOne = 250) AND (fieldTwo > 3)) OR (fieldThree BETWEEN 1 AND 100))

@symbiogenesis
Copy link
Author

@SandyDatatables @colin0117 do you think this could get merged?

@SandyDatatables
Copy link
Member

Hi @symbiogenesis ,

Just wondering what the use case is for this? Are you displaying it as a string to the user or something along those lines?

Thanks,
Sandy

@symbiogenesis
Copy link
Author

Yes, I'm displaying it to the user when they export to a file or print. I thought others might find this code useful.

@SandyDatatables
Copy link
Member

That's a really nice idea. However we do have a couple of concerns about internationalisation and how much use this would actually get.

What we will do is leave it here to allow for feedback from others. If there is enough interest then we will pull it in at that point.

Thanks,
Sandy

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.

2 participants