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

Allow the column filters of b:dataTable to be above the columns #436

Closed
stephanrauh opened this issue Jun 24, 2016 · 17 comments
Closed

Allow the column filters of b:dataTable to be above the columns #436

stephanrauh opened this issue Jun 24, 2016 · 17 comments
Assignees
Milestone

Comments

@stephanrauh
Copy link
Collaborator

This is a feature I've already implemented, but for some reason, it doesn't work yet. So I've deactivated it in order to publish a nice release. It would be nice to find the bug - probably somewhere in the JavaScript code.

@susanne69
Copy link

Sorry, I do not know whether to interfere here but deactivating multi-column-search-position makes the whole search thing, general search input and per-column input, not appear. The defaultResultsPerPage is also not honored anymore. I guess there are still dependencies to it in the Javascript and not dealt with. Rather leave it activated since it is just the default value. If it was set as attribute it worked fine.

I appreciate that that you react so promptly but sometimes it's better to sleep over possible ways to fix it; the genius in us can recover over night :) I really get surprised by mine but only after I serve a coffee ;).

Cheers

@stephanrauh
Copy link
Collaborator Author

stephanrauh commented Jun 25, 2016

Well, even after having my morning coffee the search features still work in the showcase. :) Your error description sounds like a JavaScript error indeed. You'll see that when you open your browsers JavaScript console. Would you mind to show us your datatable code snippet?

@susanne69
Copy link

I do not use any custom script in the page. Data are displayed perfectly.
I can share my b:datatable page but its is straight forward.

@susanne69
Copy link

OK, found it. I used orderable = "false" for one b:dataTableColumn. the column definition is added but a comma is missing before:
... language: { url: '/mavenproject1/javax.faces.resource/jq/ui/i18n/dt/datatable-de.json.jsf?ln=bsf' } columns: [null,null,null,null,{'orderable': false}],});

If I do not use it then it works.
New bug for orderable?

@susanne69
Copy link

susanne69 commented Jun 25, 2016

Not for a bug for orderable but language because if I omit lang="de" and use orderable = "false" then it seems just fine.
I had to interrupt my house cleaning mission for this.

@stephanrauh
Copy link
Collaborator Author

Great, thanks! I think I've found the bug. Your diagnosis made that very simple.

@stephanrauh
Copy link
Collaborator Author

I hope now I'm caught every permutation :). Fancy to try the new snapshot?

@susanne69
Copy link

Sure. I do need to change the dependency though, right? I tried 0.9.1-SNAPSHOT but it refuses to be transferred. Is it called differently?

@stephanrauh
Copy link
Collaborator Author

stephanrauh commented Jun 25, 2016

I've described in in #369. Snapshots are treated a little different than ordinary releases. You (or I, FWIW) can upload them as often as you want. Basically, all you have to do is to clear your Maven cache and update the pom.xml again. If you use Eclipse, there's a checkbox "force update of releases / snapshots" in the "update maven project" dialog. But I often simply delete the files from the .m2 folder to be really sure they are downloaded again.

@stephanrauh
Copy link
Collaborator Author

Oh, and I did the bug fix in 0.9.0. This ticket is targeted at the next version because it's a new feature. Somehow we've mixed to related, but different things in this ticket. :).

@susanne69
Copy link

I still get only 0.9.0-20160624.212046-9 :/

@susanne69
Copy link

... clear m2 worked out :) Thank you.

@susanne69
Copy link

Perfect, bulletproof. It survives all my combinations I have complained about.

@stephanrauh
Copy link
Collaborator Author

I'm glad to hear this!

@stephanrauh stephanrauh modified the milestones: v1.0.0, v0.9.1 Jul 10, 2016
@TheCoder4eu
Copy link
Owner

Is this issue to close?

@susanne69
Copy link

Yes, please close it.

Von: TheCoder4eu [mailto:[email protected]]
Gesendet: Samstag, 29. Oktober 2016 17:22
An: TheCoder4eu/BootsFaces-OSP [email protected]
Cc: susanne69 [email protected]; Comment [email protected]
Betreff: Re: [TheCoder4eu/BootsFaces-OSP] Allow the column filters of b:dataTable to be above the columns (#436)

Is this issue to close?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub #436 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/ATKjUZKhcILQc0eLX9HPLHt4w9qupboHks5q42SwgaJpZM4I-Iv2 . https://github.com/notifications/beacon/ATKjUfdw-ohbRZYFlZDUhb1EgKHEnjfvks5q42SwgaJpZM4I-Iv2.gif

@TheCoder4eu
Copy link
Owner

Thanks @susanne69 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants