forked from tonytomov/jqGrid
-
Notifications
You must be signed in to change notification settings - Fork 195
Home
Oleg Kiriljuk edited this page Mar 2, 2015
·
20 revisions
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
iconSet
allows 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 customiconSet
and 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.js
fromi18n
folder defines now the set of localization values under$.jgrid.locales
. The newlocale
option of jqGrid allows to specify the locale of the grid. In can be any value defined in locale filesgrid.locale-XX.js
included on the page. The locale defined in the last includedgrid.locale-XX.js
is default. See here for more details. - Many small improvements in the usage of jqGrid. For example including of
grid.locale-en.js
is now optional. Creating empty<div id="pager"></div>
is optional. One can usepager
option withtrue
value. 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: true
option of inline editing and the option will be used in any kind of using of corresponding methods (formatter: "actions"
,inlineNav
or direct call ofeditRow
oraddRow
). 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.css
and other. The only known compatibility problem and the workaround is described here.
- custom filtering/searching operations
- improvement of
formatter: "showlink"
- the
editable
property ofcolModel
defined as function - The usage of
jsonmap
with local data - New
convertOnSave
andsaveLocally
callback which can be defined incolModel
to simplify editing of local data. The callbacks together withjsonmap
allows to implement custom binding ofcolModel
to local data fromdata
option of jqGrid.