Skip to content

Latest commit

 

History

History
88 lines (72 loc) · 11.1 KB

README4.13.6.md

File metadata and controls

88 lines (72 loc) · 11.1 KB

free fork of jqGrid

npm versiondownloadstotal Bower NuGet Maven Central
GitHub commits time to close pull requeststime to close issues GitHub watchersGitHub forksGitHub stars devDependency status GitHub license

jqGrid is a popular jQuery Plugin for displaying and editing data in tabular form. It has some other more sophisticated features, like subgrids, TreeGrids, grouping and so on.

jqGrid was developed originally by Tony Tomov and it was available under MIT/GPL-licenses till the version 4.7.0 published Dec 8, 2014 (see here). Short time after that the license agreement was changed (see here) and new 4.7.1 version was published.

The code from the GitHib repository is the fork of jqGrid 4.7.0 - the latest version available under MIT/GPL-licenses. It will be provided under MIT/GPL-licenses.

Below you can find short description of minor new features and the bug fixes implemented in free jqGrid 4.13.6 (compared with version 4.13.5). The version is developed by Oleg Kiriljuk, alias Oleg on the stackoverflow and OlegK on trirand forum.

Read Wiki for more detailed information about the features of free-jqGrid. The preliminary version of the documentation can be found here.

Free jqGrid can be used for free. We still ask to contribute the development by donating via PayPal, if one have the possibility for it. One can donate by clicking on the following button PayPayl donate button or by sending money via PayPal to [email protected] with the comment "free jqGrid". Bank transfer based on the invoice from OK soft GmbH is another option of donating. Just send the email with the information about the amount of donation and you will get the corresponding invoice with the full information about our bank account and our VAT number.

One can install the package with respect of npm by using "npm install free-jqgrid", with respect of bower by using "bower install free-jqgrid" or from NuGet by using "Install-Package free-jqGrid".

The package is published on WebJars too and it's deployed to Maven Central.

Free jqGrid is is available from jsDelivr CDN and cdnjs. Thus one can use it directly from Internet by including for example the URLs like

<link rel="stylesheet" href="https://cdn.jsdelivr.net/free-jqgrid/4.13.6/css/ui.jqgrid.min.css">
<script src="https://cdn.jsdelivr.net/free-jqgrid/4.13.6/js/jquery.jqgrid.min.js"></script>

or

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.13.6/css/ui.jqgrid.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.13.6/js/jquery.jqgrid.min.js"></script>

The locale file is optional. One can, but one don't need to include grid.locale-en.min.js, because the same information is already included in the jquery.jqgrid.min.js (or jquery.jqgrid.src.js).

If somebody want to test the latest version of free jqGrid, one can load it directly from GitHib using RawGit service:

<link rel="stylesheet" href="https://rawgit.com/free-jqgrid/jqGrid/master/css/ui.jqgrid.css">
<script src="https://rawgit.com/free-jqgrid/jqGrid/master/js/jquery.jqgrid.src.js"></script>

All other language files and plugins are available from CDN too. See the wiki article for more details about the usage of free jqGrid from CDNs and RawGit.

Remark: the above URLs will be available after publishing the release of the version of 4.13.6.

Below one can see the full list of changes in the version 4.13.6 compared with 4.13.5:

  • Bug fix sorting of sorttype:"int" for the value 0.
  • Bug fix in columnChooser in case of usage grouped headers (see the commit).
  • Small code reorganization of reorderSelectedColumns, used by columnChooser.
  • Bug fix in reorderSelectedColumns, used by columnChooser.
  • Small fix of the position of Font Awesome sorting icons in ui.jqgrid.css.
  • Bug fix in columnChooser on grids, which has no column grouping.
  • Small improvement of performance of columnChooser.
  • Move calling of bindEv (dataInit and dataEvents) after the elements are placed on the HTML document. It reduces the requirement of placing the main code of dataInit inside of setTimeout.
  • Some improvements of the code of filterToolbar.
  • Small bug fix in createEl to prevent creating unneeded attribute column in data fields of the searching dialog.
  • Add support of stype:"checkbox" - the 3-state checkbox with an additional intermediate state. One can use it in the form stype: "checkbox", searchoptions: { sopt: ["eq"], value: "true:false" }.
  • Change the code of template:"booleanCheckbox" to use stype:"checkbox".
  • Bug fix of min height of the btable (the main table with the data) to 1px to hold horizontal scrolling position during filtering to no rows.
  • Bug fix of padding-top and padding-bottom to 0 inside of the text input in the searching toolbar in case of usage of Bootstrap GUI style.
  • Small fixes of the code based on reports of ReSharper.
  • Bug fix in showHideCol/showCol/hideCol. The problem were exist only in Microsoft Edge.
  • Make the code of getAccessor more safe.
  • Add new helper method $.jgrid.getRelativeRect. See the commit for an example of the usage of $.jgrid.getRelativeRect to specify top option of editGridRow inside of ondblClickRow callback.
  • Add the usage of new helper method $.jgrid.getRelativeRect in formatter:"actions".
  • Bug fix of the position of Bootstrap modal in case of usage direction: "rtl" in combination with the attribute dir="rtl" on the HTML body.
  • Improving the position of the dialog with validation error in cell editing using $.jgrid.getRelativeRect method.
  • Improving the look of View form and make it looks closer in both built-in GUI styles: Bootstrap and jQuery UI.
  • Improve processing of select with multiple attribute in the filter toolbar in case of loading the data via Ajax.
  • Update AMD dependencies of JavaScript files included in plugins folder to be used correctly in RequireJs. The demo provides an example of loading jqGrid modules and some jqGrid plugins via RequireJs.

The new features introduced in the version 4.13.6 can be seen on the demo, which uses jQuery UI, and the another one, which uses Bootstrap.

Other old readmes contain the list of the features and bug fixed implemented before:

Many thanks to all, who sent bug reports and suggestions to improve free jqGrid!