Skip to content

weijian1/jqGrid

 
 

Repository files navigation

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.5 (compared with version 4.13.4). 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.5/css/ui.jqgrid.min.css">
<script src="https://cdn.jsdelivr.net/free-jqgrid/4.13.5/js/i18n/grid.locale-de.min.js"></script>
<script src="https://cdn.jsdelivr.net/free-jqgrid/4.13.5/js/jquery.jqgrid.min.js"></script>

or

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.13.5/css/ui.jqgrid.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.13.5/js/i18n/grid.locale-de.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.13.5/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/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 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.5.

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

  • Add new option unloadNodeOnCollapse, which can be used in TreeGrid to remove previously loaded nodes of TreeGrid. It can improve the performance of TreeGrid in case of usage lagre number of nodes. See the comment to the commit for more detailes. The demo demonstrates unloading of all not on-top nodes on collapsing the parent node
  • Add new additionalProperty:true allows to specify additional property in xDimension of jqPivot method without the usage of unneeded hidden columns
  • Add more localization of Persian and Korean language locale files: grid.locale-fa.js and grid.locale-kr.js
  • Add parentGroupIndex property to the group header info (in case of usage data grouping)
  • Introduce the helper function getGroupHeaderIndex, which provides the information about the grouping headers. See the demo and another one
  • Bug fix the order of paging buttons in the RTL languages. See the issue for more detailes.
  • Bug fix the position of modal dialog in case of grid with scrolled data. See here for more details.
  • Add support of groupCollapse property of groupingView defined as callback function. The callback function allows to define more sofisticated rules of collapsing some groups. See the demo and another one and the comment to the commit for more details.
  • Bug fix in frozen columns in processing of dynamical changing of the row height (starting inline editing, for example)
  • Use event namespace in moseup and mousemove events
  • Bug fix of resizing of the footer in case of using frozen columns
  • Replace jQuery methods bind and unbind to on and off, introduced in jQuery 1.7. Starting with jQuery 3.0 the methods bind and unbind are declared as deprecated (see here), but there are still exist in the code. We replace bind and unbind to on and off to make the code more relible for the next versions of jQuery.
  • Bug fix horizontal scroll position in sortableColumns
  • Bug fix: prevent possible exception in processing of jqGridRefreshFilterValues event. See here for more information
  • Move the part of the code of createEl in new fillSelectOptions method and use it in the filter toolbar too
  • Bug fix of the position of sorting icons of the column headers in case of usage jQuery UI 1.12.x
  • Add support of mousewheel/DOMMouseScroll in vertical scrolling of frozen columns (setfrozenColumns). New mouseWheel callback of setFrozenColumns allows to customize the default calculation algorithm of scrolling positing based of the changes of the value of wheel button
  • Bug fix click handler on frozen column in default singleSelectClickMode:"toggle" mode
  • Small clean-up of subgrid module in the working with loading div
  • Small clean-up of saveCell method in the working with loading div
  • Remove unneeded htmlcontent parameter of progressBar
  • Add the usage of progressBar and the options saveui, savetext like in inline editing
  • Bug fix of the wrong usage of idSel in some cases of alert dialog of Searching Dialog (searchGrid) and GridDestroy method
  • Remove the usage of deprecated disableSelection method of jQuery UI from sortableRows
  • The code optimizations of getRowData
  • Add support of moving position of column headers in columnChooser in case of usage grouping headers
  • Bug fix in setGroupHeaders in case if the grid inside of hidden div (for example inactive jQuery UI Tab)
  • Add support of new callback functions: init and sortUpdate in columnChooser method
  • Bug fix in columnChooser in the order of columns
  • Bug fix of width of items after drop in selected column in the Column Chooser
  • Bug fix in ui.multiselect.js and the Column Chooser
  • Improve performance of resizing the columns
  • Add column property to options of createEl and bindEv of Searching Dialog (jqFilter method). The columns parameter contains typically the deep copy of colModel. The new column property allows to access the copy of the item of columns by usage options.column. Thus one should be able to modify searchoptions by modifying of options.column.searchoptions.
  • Add support of multiple:true selects in the filter toolbar inside of jqGridRefreshFilterValues event (in case of usage default loadFilterDefaults:true option of filterToolbar)

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!

Packages

 
 
 

Languages

  • JavaScript 97.6%
  • CSS 1.8%
  • HTML 0.6%