Home > jQuery > Guriddo jqGrid JS version 5.4.0 is released

Guriddo jqGrid JS version 5.4.0 is released

We are pleased to announce the new Guriddo jqGrid JavaScript version 5.4.0 release.
This version is a major release and add a support for Section 508, custom defined search, custom excel formatting and much more. A lot of numerous bugs are fixed and documentation is updated accordant.

Below is the full list of the additions and fixes.

Additions and Updates

  • Add new module grid.aria.js to support section 508. See docs for details. Demo
  • Add automatic and custom auto-re sizing of columns on data loading. Two new options autoResizing in grid option and autosize in colModel. Demo
  • Add a custom defined search filter see grid option customFilterDef. Demo
  • Add custom excel formatting with introduction a new option in colModel exportoptions. Demo
  • Add parameter loadIndicator in all export modules (pdf, csv, excel, html). Can be a function or Boolean. Demo
  • Add support for in and not in operands when searching local data. Demo
  • Add support for frozen row at header – option headerrow (similat to footerrow ). Demo
  • Add method headerData and support of userDataOnHeader for the frozen header row
  • Add method autoSelect similar to Excel auto filter for search type select. Works only on local data and toolbar filtering. Demo
  • Remove not used parameter in scrollGrid internal function
  • Remove currentview parameter from getRootNodes and getNodeChildren since the view and the data are the same in treeGrid
  • Add onBeforeExport event in exportToCsv method
  • Extend options parameter in createEl function with property module for determining from which editing module is called. The new parameter is module with the following possible values : cell, form, inline
  • Add option decodeValue in formatter select in order to decode value in case it is encoded. This fix a selection of displayed value.
  • Making the pager buttons and info responsive.

Bug Fixes

  • Fix scroll in Chrome when height auto or 100% when Bootstrap
  • Fix delRowData in multi-select mode when the parameter is integer. See https://github.com/tonytomov/jqGrid/issues/935
  • Fix for local search comparison of numeric values in case a non-numeric is entered
  • Do not remove the ids of edited rows when reset the selection
  • Fix option scrollOffset when rtl is set
  • Fix method setGridWidth in case of multiple headers
  • Fix method setGridWidth in case grouping headers is on and there is a horizontal scroll.
  • Fix column menu position in case when group header is set
  • Fix form edit option checkonUpdate in case edittype is select with dataUrl is used
  • Fix for numbers with length > 15 in the in excel export method exportToExcel in the new parsers.
  • Fix multiple search in case of jQuery 3.x
  • Fix formatter select to set correct all attributes in case no value option is set
  • Six treeGrid functions which add/edit/delete data to be compatible with idPrefix option
  • Fix getRowData method to take idPrefix in account when parameter usedata is on
  • Add BOM to fix excel bug when exporting to csv and the charset is utf-8
  • Fix clear search value in toolbar filtering when column reordering is enabled.
  • Fix exporting integer 0 in excel export.
  • Fix export to excel in case a number is detected (prevent double value creating in case of multiple parser which meet the condition)
  • Header and Footer user data should be not formatted (userDataOnFooter, userDataOnHeader) when placed in grid. They should npot use the formatter for that column

Enjoy the new version

Guriddo Team

Tags:
  1. Michael Levasseur
    August 20th, 2019 at 21:50 | #1

    Clear search is broken. len = $t.p.colModel.lenght is misspelled.

    $(“.clearsearchclass”,tr).click(function() {
    var ptr = $(this).parents(“tr:first”),
    colname = $(“td.ui-search-oper”, ptr).attr(‘columname’), coli=0, len = $t.p.colModel.lenght;
    while(coli<len) {
    if($t.p.colModel[coli].name === colname) {
    break;
    }
    coli++;
    }

  2. August 21st, 2019 at 14:14 | #2

    Hello Michael,

    Thank you very much for find this bug. The problem is fixed.

    Best Regards
    Tony

  3. Michael Levasseur
    August 22nd, 2019 at 16:20 | #3

    @tony
    Thanks. I noticed there was another change in the updated source file, but the minified file has not been updated as well. Can the minified file be updated?

    if(fld.srcfmt && fld.newfmt && fld.srcfmt !== fld.newfmt ) {

    … as opposed to …

    if(typeof fld.srcfmt === “string” && typeof fld.newfmt === “string” ) {

  4. August 22nd, 2019 at 16:27 | #4

    Hello,

    From where you get the code (I mean from where you have downloaded it)

  5. August 22nd, 2019 at 16:39 | #5

    The expression:

    if(fld.srcfmt && fld.newfmt && fld.srcfmt !== fld.newfmt ) {

    is wrong, since in case if the srcfmt = ‘d/m/Y’ = newfmt = ‘d/m/Y’ will give wrong result

  6. Michael Levasseur
    August 22nd, 2019 at 17:53 | #6

    @tony
    I downloaded from http://guriddo.net/?page_id=103292

    To be clear the version change I have in the source has…
    if(typeof fld.srcfmt === “string” && typeof fld.newfmt === “string” ) {

    The minified version does not have this change.

  7. August 23rd, 2019 at 13:35 | #7

    Hello,

    Should be ok now.

    Thanks

  8. Gul Ahmad
    October 23rd, 2019 at 11:58 | #8

    lastSelectedData option is still not working, there is any alternative?

  9. Gul Ahmad
    October 23rd, 2019 at 12:29 | #9

    Hello all,
    In Gurrido latest version 5.4.0 is released but still lastSelectedData option is missing any alternative please

  10. Teju
    February 22nd, 2020 at 20:58 | #10

    SetSortICon is not working . I need to place sort icon before the the label as sortIconsBeforeText property . but setSortIcon doesnt work like that. can u please help with this

  11. Vijay
    May 24th, 2020 at 17:39 | #11

    @tony,

    1) getDataIDs not working in 5.4.0 — Is there any alternative implemented to get row IDs in gridComplete.

    2) Autocomplete in dataInit not showing the suggestion list. element always set to display none.

    Both the above were working fine in jqgrid 4.4.4. But, those are not working in 5.4.0

    quick help is appreciated.

  1. No trackbacks yet.

Privacy Policy   Terms and Conditions   Contact Information