Skip to content

ryanlin1986/jqGrid

 
 

Repository files navigation

free fork of jqGrid

======

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 mostly by Tony Tomov in the past and it was available under MIT/GPL-licences 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-licences. It will be provided under MIT/GPL-licences.

Below you can find short description of new features and bug fixes implemented in free jqGrid 4.11.1 (compared with version 4.10.0). 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.

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".

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

Free jqGrid is published on cdnjs and jsDelivr CDN. So one can use it directly from Internet by including for example

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

It 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/i18n/grid.locale-de.js"></script>
<script src="https://rawgit.com/free-jqgrid/jqGrid/master/js/jquery.jqgrid.src.js"></script>

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

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

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

The only difference between the version 4.11.1 and the version 4.11.0 is the fix.

  • Fix of the bug with mtype in delGridRow. The line with the code type: o.mtype, was accidentally removed in version 4.11.0.

Main new features and improvements implemented in the version 4.11.1.

  • Remove old plugins from free jqGrid (grid.addons.js, grid.postext.js, grid.setcolumns.js, jquery.tablednd.js, jquery.searchfilter.js, searchfilter.css).
  • Add @license to the comment of plugins and locale files to hold the information on minimizing.
  • Including version number of free jqGrid as the comment in ui.jqgrid.css file.
  • Use grunt instead of gradle for building free jqGrid. Minimize css using .map file. Update all .min and .map.
  • Add "u1000" date format in addition to existing "u" format. See the answer for more details.
  • Add support of editable: "hidden" property in inline editing. It can be used to send the content of non-editable column to the server during row editing.
  • Changes of CSS settings of TreeGrid icons. Many changes in the structure of grouping header.
  • New hasMultiselectCheckBox callback allows to remove multiselect checkbox from some rows.
  • Allow to use HTML5 specific values of type attribute of <input> element created during editing (number, range and so on). New option skipPostTypes: ["image", "file"] allows to minimize side effects of the changes.
  • Changing encoding of data during inline and form editing. No HTML encoding will be used by default if autoencode: true option is used. It's important for sending correct (non-encoded) JSON data and still use autoencode: true to display the information in the grid. New autoEncodeOnEdit: true option can be used to simulate the old behavior. The option is important for better compatibility with previous versions of jqGrid.
  • url of inline editing, cell editing and form editing (inclusive deleting) can be defined now as function. mtype can be function too for inline and form editing methods.

The below is the full list of changes in the version 4.11.1 compared with 4.10.0

  • Add support of array values for summaryTpl and summaryType
  • Bug fix (in case of toTop:true, and overlay:close)
  • Improve validation of input parameters of editCell
  • Improve a little the performance by usage of .first() instead of .filter(":first")
  • Bug fix in processing of editOptions option of formatter: "actions"
  • Bug fix in destroyFilterToolbar.
  • Bug fix in setGridWidth in case of usage one call for multiple grids
  • Remove old plugins from free jqGrid (grid.addons.js, grid.postext.js, grid.setcolumns.js, jquery.tablednd.js, jquery.searchfilter.js, searchfilter.css).
  • Bug fix: checkboxes should be not checked on false return of beforeSelectRow
  • Fix reloading of the grid with grouping which have loadonce:true option
  • Add "u1000" date format in addition to existing "u" format. See the answer for more details.
  • Add @license to the comment of plugins and locale files to hold the information on minimizing.
  • Use grunt instead of gradle for building free jqGrid. Minimize css using .map file. Update all .min and .map.
  • Add support of editable: "hidden" property in inline editing. It can be used to send the content of non-editable column to the server during row editing.
  • Small selector optimization. The usage of .filter(":hidden") in grid.grouping.js module
  • Fix the number of empty <td> in <htable>. It improves the compatibility to HTML standards
  • Small optimization of ui.jqgrid.css
  • Changes of CSS settings of TreeGrid icons.
  • Many changes in the structure of grouping header.
  • Including version number of free jqGrid as the comment in ui.jqgrid.css file.
  • New hasMultiselectCheckBox callback allows to remove multiselect checkbox from some rows
  • Bug fix in call of buildSummaryTd, use jqGridShowHideCol
  • Changing encoding of data during inline and form editing. No HTML encoding will be used by default if autoencode: true option is used. It's important for sending correct (non-encoded) JSON data and still use autoencode: true to display the information in the grid. New autoEncodeOnEdit: true option can be used to simulate the old behavior. The option is important for better compatibility with previous versions of jqGrid.
  • Small fix of the width of the grid. Mostly relevant for Chrome
  • Small fixes in title which will be set inside of setRowData method.
  • Move some multiselect-checkbox settings from JS to CSS. Less inline styles.
  • Bugfix in hideModal in case of call for already descroyed modal dialog
  • url of inline editing, cell editing and form editing (inclusive deleting) can be defined now as function. mtype can be function too for inline and form editing methods.
  • Fix of the bug with mtype in delGridRow. The line with the code type: o.mtype, was accidentally removed in version 4.11.0.

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

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

Packages

No packages published

Languages

  • JavaScript 98.0%
  • CSS 1.3%
  • HTML 0.7%