jqGrid 3.4.2
We are happy to introduce a new release of jqGrid – 3.4.2. Mainly this is a bug fix release. All the changes in this version:
Bug fixes
- checkbox default value bug in CreateEl function
- when width in colModel is set not as number but as string – i.e ‘200’
- trigger reloadGrid fix when we use a tree grid. Previous the tree grid does not refresh
- setSelection method can now support dotted names as id
- width fix for element of type select in form editing
- In formedit, celledit and inline edit a dotted names are supported
- formatter bug when default values from language file are used for elements of types number, integer and date
- subgrid as grid and inline edit fix when the subgrid has id as those in the currently edited row in the parent
- cell edit fix when we post data containing <>or “
Additions
- new option deselectAfterSort. The option is applicable only when we use datatype : local. Deselects are currently selected row(s) when a sort is applied. Default value true.
- in searchGrid method is added option closeAfterSearch. Closes the dialog after we activate the search button. Default value : false
- new event in subgrid subGridBeforeExpand. When set this event should return true or false. The event is raised just before expanding the grid. If it returns false the subgrid row is not expanded and the subgrid is not opened. To this event we pass 2 parameters – the id if the div and the row id of the parent
- The behaviour of subGridRowColapsed is changed. The behaviour is similar to those of subGridBeforeExpand. The event should return true or false. When the returned value is false the row can not be collapsed.
- Added a new parameter in formatter for element of type showlink – addParam. When set this is added at end if the link. To work this the parameter should contain &. Example:
formater: ‘showlink’, formatoptions: {baseLinkUrl: ‘someurl.php’, addParam: ‘&action=edit’}
This will output: http: // localhost / someurl.php?id=123&action=edit - for tree grid is added new parameter – ExpandColClick. When set the tree is expanded and/or collapsed then we click on the text of the expanded column, not only on the image
there is a bug in formater ‘showlink, retunrs invalid link. For expample http: // localhost / someurl.phpshow?id=123&action=edit . ‘show’ appears after file name
Is there a direct way for me to import CSV format files into the table?