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

Support for Date Range Picker? #537

Closed
dwasyl opened this issue Jan 19, 2019 · 1 comment
Closed

Support for Date Range Picker? #537

dwasyl opened this issue Jan 19, 2019 · 1 comment

Comments

@dwasyl
Copy link

dwasyl commented Jan 19, 2019

I've seen this come up in the past, but without much explanation as to why it was being requested.

We often use the Date Range Picker (www.daterangepicker.com / https://github.com/dangrossman/daterangepicker) and it would be great if this could be incorporated for date range selection. It has a simple UI that gets used often. The actual format of the input is a bit different though, they use a single string input with ("From Date - To Date").

Clearly just a nice to have, this would be a nice alternative to the dual date selector boxes that are currently used, and enable us to have more consistency with regards to date range selection.

vedmack added a commit that referenced this issue Jan 31, 2019
Support Date Range Picker plugin (datepicker_type: 'daterangepicker') - #537
@vedmack
Copy link
Owner

vedmack commented Jan 31, 2019

added in 0.9.4.beta.16

see test page

usage example:


yadcf.init(table, [
    {
      column_number: 4,
      filter_type: "date",
      datepicker_type: 'daterangepicker',
      date_format: 'YYYY/MM/DD'
    }
  ]);

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

2 participants