Home - free-jqgrid/jqGrid GitHub Wiki
Welcome to the free jqGrid wiki!
It contains currently short description of new features introduced by free jqGrid 4.8.
- Auto-adjustment of the width of columns based on the content of data in the column and the column headers. See here for more details.
- Redesign of the structure of Navigator Bar of the pagers. Allow wrapping of icons in multiple lines and allow to place texts under the navigator icons. See here for more details.
- Support of scalable Font Awesome icons as an alternative to jQuery UI 16x16px icons. New option
iconSetallows to redefine the full set of icons used in jqGrid. Two sets are included out of the box:iconSet: "jQueryUI"(default because of compatibility with old jqGrid versions) andiconSet: "fontAwesome". jqGrid allows to define customiconSetand to use it in the same way like predefined"jQueryUI"and"fontAwesome". See here for more details. - Support of grids with multiple locale on the same page. The files
grid.locale-XX.jsfromi18nfolder defines now the set of localization values under$.jgrid.locales. The newlocaleoption of jqGrid allows to specify the locale of the grid. In can be any value defined in locale filesgrid.locale-XX.jsincluded on the page. The locale defined in the last includedgrid.locale-XX.jsis default. See here for more details. - Many small improvements in the usage of jqGrid. For example including of
grid.locale-en.jsis now optional. Creating empty<div id="pager"></div>is optional. One can usepageroption withtruevalue. In the case jqGrid generate itself the<div>with unique id. One can create jqGrid with small number of options. Default values for many option will be set dynamically based on the options specified during creating. We tried still to hold maximal compatibility with the previous versions of jqGrid. - The options of many internal methods of jqGrid used by editing and searching can now be specified as jqGrid options. So one have one place where one can specify an editing option like
keys: trueoption of inline editing and the option will be used in any kind of using of corresponding methods (formatter: "actions",inlineNavor direct call ofeditRoworaddRow). See here for more details. - new callbacks and jQuery events are supported now. See here for more details.
- CSS of jqGrid is changed to be easy to combine with
bootstrap.cssand other. The only known compatibility problem and the workaround is described here.
- custom filtering/searching operations
- improvement of
formatter: "showlink" - the
editableproperty ofcolModeldefined as function - The usage of
jsonmapwith local data - New
convertOnSaveandsaveLocallycallback which can be defined incolModelto simplify editing of local data. The callbacks together withjsonmapallows to implement custom binding ofcolModelto local data fromdataoption of jqGrid.