Closed tduchateau closed 10 years ago
Comment by tduchateau from Sunday Nov 10, 2013 at 12:05 GMT
I think you're right. To be fair, I don't recall why I made this choice...
Thanks :-)
Comment by dcervera from Monday Nov 11, 2013 at 15:36 GMT
If you agree with this modification I can try to do the pull-request... :+1:
Comment by tduchateau from Monday Nov 11, 2013 at 15:39 GMT
Of course you can! :-) Please submit the PR against the 0.10.0 branch, which is already under active development.
Thanks!
Issue by dcervera from Friday Nov 08, 2013 at 08:49 GMT
Currently if a column is hidden, automatically it is set as "unsearchable". Why? This behavior cause the property "searchable" of the columns loses its core functionality.
I think the properties "searchable" and "visible" of the columns should be completely independent, allowing developers to combine both in all possible ways, where perhaps the most common combination is "searchable = false" and "visible = false", but this does not justify the inability to use another combination, since, for example, "searchable = true" and "visible = false" can be very useful in many cases.
So I think that it should reconsider changing the behavior so that the hidden columns are not automatically set as "unsearchable".
See #76 for more info. And https://github.com/dandelion/dandelion-datatables/commit/fb5cc50bcff7bcc1e61a92d41e6fbd8a20c35be9 to check the changes made in code.