FEATURE Added Datepicker Year/Month Edit Option + allRows Public Method #914
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added feature to have default value in options so the user
can set whether the datepicker in jTable forms lets
the user directly change the month and the year. This is
done via options defaultDateChangeYear and
defaultDateChangeMonth which by default are set to false,
but either one or both can be set to true by the user
during jTable initialization. Doing so modifies the behavior
of the datepicker object in table create/edit forms, letting
the user optionally direct select the year and/or month
(rather than having to scroll through time).
A second feature to allows the user to call public jTable.allRows(),
analogous to jTable.selectedRows(). In addition to just
returning the selected rows, we now return all the rows
in the jTable (and thus underlying data) by calling allRows().
Modified both the jquery.jtable.js source with these changes,
as well as the underlying dev source with identical changes.