Guriddo Suito PHP 5.2.1 released

May 17th, 2017 15 comments

Hello,

We are glad to announce the availability of our Suito PHP 5.2.1 release. This version is a bug fix release, but contain very useful additions. Below is a list of the additions and changes:

PHP

Additions and Changes

  • In excel options added default format types as follow:
    “format_int”=>”#0”, “format_num”=>”#.00″,”format_text”=>”@”, “format_date”=>”YYYY-MM-DD”
    with this option the default types are formatted correct in excel.
    To overwrite the default excel formating the excel option can be set or to define a custom formatter
    in excel use excel_format property in formatoptions like in the code below:
    $grid->setColProperty(‘myfield’, array(“formatoptions”=>array(“excel_format”=>”#.0”)));
  • Add customwhere element in tableconfig array where is possible to add a additional condition in getLeafNodes where clause for adjacency model
  • Added new public variable summaryalias (default true) – summary data is calculated using alias.
    if we have $sql then adding the needed summary fields to $s as SUM(a) AS a… , then we do
    SELECT COUNT(*) AS COUNTR “.$s.” FROM ($sql) gridalias.

Fixes
  • Fix bug with summary fields
  • Fix pass by reference error in PHP 7
  • Fix _buildSearch() function for Cannot use string offset as an array.
  • Fix when formatter (select) parameter is true in setSelect we update formatoptions instead of editoptions
  • Default values parameter (defvals) in setSelect now is available in all modes – formatter, editing and searching

Java Script

Addition and Updates
  • Add a showSaveCancelButtons() method in inline editiong to enable save and cancel buttons
  • Add saveData parameter in saveState method, which enables/disables saving the data. Default true.
  • Add restoreData option in loadState method which enables/disables restoring the saved data state. Default true.
  • Removed a grid option altclass. Added definition for striped table in the styleUI object. The striped table is now build (option altRows : true) only when add a class to the main table. This add a speed improvements when loading the data. Removed the not needed code in delRowData and addRowdata
  • Add onBeforeExport event in exportToExcel method
  • Add parameter forceresize to resizeColumn methods
  • Added triggred event jqGridBeforeProcessing which is equivalent of beforeProcessing
  • Add triggered events jqGridLoadError = loadError and jqGridLoadBeforeSend = loadBeforeSend
  • Add triggered event jqGridPaging = onPaging
  • Remove global object jqGridUtils and add all the functions in $.jgrid object removing a need to have two global jqGrid objects.
  • Exclude more attributes not needed to be add in input element in createEl function
  • Add triggered event jqGridErrorCell = errorCell in cell editing
  • Add new property in colModel exportcol which enables disables the export in the methods exportToPdf and ExportToExcel exportToCsv.
  • Add saveui and savetext parameters to the editRow method
  • Added missed triggered events in viewGridRow method see documentation
  • Adding missed triggred evenents in delGridRow see documentation
  • Added replaceStr event in exportToExcel parameters in order to control the formatting of the exported text.
  • Add onSubmitCell event in cell edit
  • Removing not used option delayOnLoad in subgrid
  • Adding the missing triggered events in treeGrid
  • Adding option multimail
  • Adding count parameter to summaryTpl -> {1}
  • Add option scrollMaxBuffer to prevent memory problems when using virtual scrolling in local mode using the mouse wheel
Bug Fixes
  • Fix: small fixes according to eslint
  • Fix: comparing with equal data types in getNodeParent
  • Selector fixes the addJSONData and addXMLData
  • Fix: Support autoencode grid option to prevent XSS in jqFilter
  • Fix restoreRow to restore all the data saved into the savedRow array and not only the editable. This fixes calling of depended formatter custom function. See here
  • Fix: Unreadable content in MS Excel when open the generated excel file generated with exportToExcel method`
  • Fix: saveAs function in exportToExcel to work correct in IE11 (Access denied error fix)
  • Fix: set search option to false when we reset the seasrch in column menu
  • Fix: fixes in normalizeData function to read correct the unique name.
  • Fix setFrozenColumns when box-sizing=border-box is used.
  • Fix: add beforeProcessing event to every datatype.
  • Small fix in beforeRequest event. The triggered event and option event should be one after other.
  • Fix according to the documentation if datatype is function beforeRequest does not fire
  • Fix: More strict check in setColProp for the type object
  • Fix jqgroup class to have same height as jqgrow class.
  • Fix calling custom_element in search modules with the right html element.
  • Fix delGridRow view modal dialogue in case first time beforeInitData return false.
  • Fix: remove the parameter searchurl in filterToolbar it is never used
  • Fix: get correct label from colNames instead of colModel.label in buildColMenu
  • Fix: When exporting we should use the colNames and not colModel.label
  • Fix remove bad set counter for service fields: row numbers and multiselect.
  • Fix frozen columns when zooming.
  • Fix calling triggered event jqGridAddEditAfterComplete in editGridRow.
  • Fix add missed parameter postdata in jqGridAddEditBeforeCheckValues
  • Fix setGroupHeader method in case it is called 2 or more times with colspan : true
  • Fix export to excel allowing quotes in the values.
  • Fix Bootstrap css dispearing icons
  • Fix: colmenu search options operands replaced with groupOps common to all search modules
  • Fix columnChooser – setting height causes selection list not to overflow correct.
  • Fix sortable columns to perform sort when the column is sorted to its original position
  • Fix reading data in case key colModel option is set and repeatitems in jsonReader is true.
  • Fix passing parameters in editRow
  • Fix stop function in sortablColumns method to be executed within delay
  • Fix deselectAfterSort to not highlight the remaining rows
  • Fix exportToExcel method to order properly the columns. The bug originally come for the reason that object properties are ordered and do not follow natural insert order
  • Fix exportToPdf to order correctly the columns in case some of them have a number as name
  • Fix exportToCsv to order correct column names in header when they are numbers.
  • Fix timeoffset in parseDate function.
  • Fix it is possible to search when select has a multiple property in dialogue search
  • Fix toggleToolbar method when frozenColumns are set
  • Fix filterInput to use ! correct

Kind Regards,
Guriddo Team

Tags:

Guriddo jqGrid JavaScript 5.2.1 is out

May 1st, 2017 No comments

Hello All,

We are pleased to announce the release of Guriddo jqGrid JavaScript 5.2.1. This is a bug fix release, but includes a lot of useful additions. Again with this is is the first release containing our new documentation.

Below is the list of the additions and fixes:

Addition and Updates

  • Add a showSaveCancelButtons() method in inline editiong to enable save and cancel buttons
  • Add saveData parameter in saveState method, which enables/disables saving the data. Default true.
  • Add restoreData option in loadState method which enables/disables restoring the saved data state. Default true.
  • Removed a grid option altclass. Added definition for striped table in the styleUI object. The striped table is now build (option altRows : true) only when add a class to the main table. This add a speed improvements when loading the data. Removed the not needed code in delRowData and addRowdata
  • Add onBeforeExport event in exportToExcel method
  • Add parameter forceresize to resizeColumn methods
  • Added triggred event jqGridBeforeProcessing which is equivalent of beforeProcessing
  • Add triggered events jqGridLoadError = loadError and jqGridLoadBeforeSend = loadBeforeSend
  • Add triggered event jqGridPaging = onPaging
  • Remove global object jqGridUtils and add all the functions in $.jgrid object removing a need to have two global jqGrid objects.
  • Exclude more attributes not needed to be add in input element in createEl function
  • Add triggered event jqGridErrorCell = errorCell in cell editing
  • Add new property in colModel exportcol which enables disables the export in the methods exportToPdf and ExportToExcel exportToCsv.
  • Add saveui and savetext parameters to the editRow method
  • Added missed triggered events in viewGridRow method see documentation
  • Adding missed triggred evenents in delGridRow see documentation
  • Added replaceStr event in exportToExcel parameters in order to control the formatting of the exported text.
  • Add onSubmitCell event in cell edit
  • Removing not used option delayOnLoad in subgrid
  • Adding the missing triggered events in treeGrid
  • Adding option multimail
  • Adding count parameter to summaryTpl -> {1}
  • Add option scrollMaxBuffer to prevent memory problems when using virtual scrolling in local mode using the mouse wheel

Bug Fixes

  • Fix: small fixes according to eslint
  • Fix: comparing with equal data types in getNodeParent
  • Selector fixes the addJSONData and addXMLData
  • Fix: Support autoencode grid option to prevent XSS in jqFilter
  • Fix restoreRow to restore all the data saved into the savedRow array and not only the editable. This fixes calling of depended formatter custom function. See here
  • Fix: Unreadable content in MS Excel when open the generated excel file generated with exportToExcel method`
  • Fix: saveAs function in exportToExcel to work correct in IE11 (Access denied error fix)
  • Fix: set search option to false when we reset the seasrch in column menu
  • Fix: fixes in normalizeData function to read correct the unique name.
  • Fix setFrozenColumns when box-sizing=border-box is used.
  • Fix: add beforeProcessing event to every datatype.
  • Small fix in beforeRequest event. The triggered event and option event should be one after other.
  • Fix according to the documentation if datatype is function beforeRequest does not fire
  • Fix: More strict check in setColProp for the type object
  • Fix jqgroup class to have same height as jqgrow class.
  • Fix calling custom_element in search modules with the right html element.
  • Fix delGridRow view modal dialogue in case first time beforeInitData return false.
  • Fix: remove the parameter searchurl in filterToolbar it is never used
  • Fix: get correct label from colNames instead of colModel.label in buildColMenu
  • Fix: When exporting we should use the colNames and not colModel.label
  • Fix remove bad set counter for service fields: row numbers and multiselect.
  • Fix frozen columns when zooming.
  • Fix calling triggered event jqGridAddEditAfterComplete in editGridRow.
  • Fix add missed parameter postdata in jqGridAddEditBeforeCheckValues
  • Fix setGroupHeader method in case it is called 2 or more times with colspan : true
  • Fix export to excel allowing quotes in the values.
  • Fix Bootstrap css dispearing icons
  • Fix: colmenu search options operands replaced with groupOps common to all search modules
  • Fix columnChooser – setting height causes selection list not to overflow correct.
  • Fix sortable columns to perform sort when the column is sorted to its original position
  • Fix reading data in case key colModel option is set and repeatitems in jsonReader is true.
  • Fix passing parameters in editRow
  • Fix stop function in sortablColumns method to be executed within delay
  • Fix deselectAfterSort to not highlight the remaining rows
  • Fix exportToExcel method to order properly the columns. The bug originally come for the reason that object properties are ordered and do not follow natural insert order
  • Fix exportToPdf to order correctly the columns in case some of them have a number as name
  • Fix exportToCsv to order correct column names in header when they are numbers.
  • Fix timeoffset in parseDate function.
  • Fix it is possible to search when select has a multiple property in dialogue search
  • Fix toggleToolbar method when frozenColumns are set
  • Fix filterInput to use ! correct

Enjoy the new release!
Kind Regards
The Guriddo Team

Tags:

Guriddo jqGrid JavaScript documentation

April 10th, 2017 No comments

Hello All,

We are happy to introduce our new documentation for Guriddo jqGrid JavaScript.  The documentation is available here and will be included in the upcoming bug fix release. The updated Guriddo Suito PHP documentation will be published at end of May.

We hope you enjoy it.

Any comments, recommendations and fixes are welcome.

Kind Regards

The Guriddo jqGrid Team

Tags:

Guriddo Suito PHP 5.2.0 is released

November 25th, 2016 4 comments

We are pleased to announce the immediately availability of Guriddo Suito PHP version 5.2.0. This is a major release, which provides the following (visit our demo to view the new features):

 

PHP

 

Additions and Updates

  • Added header_cell excel option to position the title of the export.
    This option is added in excel options array and should be used in setExcelOptions
  • Added 4 Parameter $delay = 0 (milliseconds) in callGridMethod. If set > 0
    the method is called within setTimeout with the delay specified
 

Bug Fixes

  • Fix array driver searching strings
 

JavaScript

 

Additions and Updates

  • Support to jQuery 3.x
  • Added a export to CSV, Excel (open excel format) and pdf. For excel we need additionally jsZip and for pdf pdfMake libs.
  • Add saveAs function in util module, which do a browser save dialog for saving diffrent data type.
  • Update Portugase translation file grid.locale-pt.js
  • Add a new event – validationCell which may occur (if defined) when a validation error. Parameters – element, error message, iRow and iCol. When restoreCellonFail is set to false now we focus the cell when info dialog is closed
  • Added method setSortIcon. the method changes the position of the sort icon at left or right. The first parameter is the column name or the position of the column in colModel starting from zero. The second parameter is left or right(or empty or nothing).
  • Update of lang files for the serch dilogs
  • Update for the language spanish file.
  • Update of Bulgarin, German and Russian lang files according to the new search text
  • Adding validationCell event custom message in inline edit. Parameters passed to this are the element, error message, row index and column index.
  • Update Chinese Translate for v5.1.1
  • Adding custom aggregate function in pivot grid. In the aggregates array the aggregator now can be a function.
    Parameters passed to this function are: value, field name, data record
  • Making possible to run addLocalData as grid method. Added a parameter(boolean) which set if we need all the data (and not paged one)
 

Bug Fixes

  • Fixes in import module.
  • Fix cc variable in cell edit to be a jQuery object causing error. See https://github.com/tonytomov/jqGrid/issues/812
  • Fix pivot in case yDimension is not set
  • Fix getRowData when the second paraneter is not set
  • More tolerante checking of isEmpty function in formedit validations
  • Fix for beforedrop event in the gridDnD method.
  • Fix for avg function in pivot
  • Fix: Data in pivot should be array.
  • Fix cacheUrl to accept empty values in case in case they are defined in option value.
  • Fix getting the cell data in cell edit mode
  • Fix: Added missed translation text in serach dialogs for the button rules.
  • Fix get cell to return the right content of the ExpandColumn field when treeGrid is on
  • Fix for Bootstrap horizontall scroll bar when height auto/100%
  • Fixed misspelling of “inline-block”
  • Fix info dilog when error from the server – position the dialog ner to the cell and focus a field if restoronCellFail is false
  • Try to focus the field in inline edit when a validation error occur
  • Fix finding the position of the objec. We need the cuurent position of the screen.
  • Fix pivot initial sorting when set in grid options as sortname
  • Fix pager info for loaded records when adding new one and virtual scroll is enabled.
  • Formatting changes
  • Fix adding non empty id in editGridRow (fix is for treegrid)
  • Fix German locale toolbar search options

Kind Regards,
Tony
TriRand Ltd.

 

Tags:

Guriddo jqGrid JavaScript 5.2.0 is released

November 21st, 2016 6 comments

Hello,

We are glad to anounce the immediate availability of Guriddo jqGrid JavaScript version 5.2.0.
This version is a major release and add a support of jQuery 3.x.
Another usefull addition is true export to Excel, PDF and CSV with our new export module. See our updated demo

Below is the list of additions and fixes:

Additions and Updates

  • Support to jQuery 3.x
  • Added a export to CSV, Excel (open excel format) and pdf. For excel we need additionally jsZip and for pdf pdfMake libs.
  • Add saveAs function in util module, which do a browser save dialog for saving diffrent data type.
  • Update Portugase translation file grid.locale-pt.js
  • Add a new event – validationCell which may occur (if defined) when a validation error. Parameters – element, error message, iRow and iCol. When restoreCellonFail is set to false now we focus the cell when info dialog is closed
  • Added method setSortIcon. the method changes the position of the sort icon at left or right. The first parameter is the column name or the position of the column in colModel starting from zero. The second parameter is left or right(or empty or nothing).
  • Update of lang files for the serch dilogs
  • Update for the language spanish file.
  • Update of Bulgarin, German and Russian lang files according to the new search text
  • Adding validationCell event custom message in inline edit. Parameters passed to this are the element, error message, row index and column index.
  • Update Chinese Translate for v5.1.1
  • Adding custom aggregate function in pivot grid. In the aggregates array the aggregator now can be a function.
    Parameters passed to this function are: value, field name, data record
  • Making possible to run addLocalData as grid method. Added a parameter(boolean) which set if we need all the data (and not paged one)

Bug Fixes

  • Fixes in import module.
  • Fix cc variable in cell edit to be a jQuery object causing error. See https://github.com/tonytomov/jqGrid/issues/812
  • Fix pivot in case yDimension is not set
  • Fix getRowData when the second paraneter is not set
  • More tolerante checking of isEmpty function in formedit validations
  • Fix for beforedrop event in the gridDnD method.
  • Fix for avg function in pivot
  • Fix: Data in pivot should be array.
  • Fix cacheUrl to accept empty values in case in case they are defined in option value.
  • Fix getting the cell data in cell edit mode
  • Fix: Added missed translation text in serach dialogs for the button rules.
  • Fix get cell to return the right content of the ExpandColumn field when treeGrid is on
  • Fix for Bootstrap horizontall scroll bar when height auto/100%
  • Fixed misspelling of “inline-block”
  • Fix info dilog when error from the server – position the dialog ner to the cell and focus a field if restoronCellFail is false
  • Try to focus the field in inline edit when a validation error occur
  • Fix finding the position of the objec. We need the cuurent position of the screen.
  • Fix pivot initial sorting when set in grid options as sortname
  • Fix pager info for loaded records when adding new one and virtual scroll is enabled.
  • Formatting changes
  • Fix adding non empty id in editGridRow (fix is for treegrid)
  • Fix German locale toolbar search options

Enjoy the new version.
Trirand Team

Tags:
Privacy Policy   Terms and Conditions   Contact Information