Permalink
Commits on Apr 10, 2012
  1. Publishing 4.3.2

    committed Apr 10, 2012
  2. Making it possible to pass array of data to the rowattr function with…

    …out to make two loops
    committed Apr 10, 2012
  3. Adding a version veriable.

    committed Apr 10, 2012
Commits on Apr 6, 2012
Commits on Apr 5, 2012
  1. Fix language files to be loaded in arbitrary order (before/after the …

    …grid) This allow dynamically change the language.
    committed Apr 5, 2012
  2. Fix for idPrefix in addRowData, delRowData and setRowdata when dataty…

    …pe is local. Thanks to Oleg
    committed Apr 5, 2012
Commits on Apr 4, 2012
Commits on Apr 2, 2012
  1. Class is reserved word

    committed Apr 2, 2012
  2. Merge pull request #287 from albanf/patch-2

    Prevent activation of default button when pressing Enter to submit changes
    committed Apr 2, 2012
  3. Merge pull request #285 from lukasz-schab/patch-1

    Update js/i18n/grid.locale-pl.js
    committed Apr 2, 2012
  4. Merge pull request #284 from OlegKi/master

    Implementation of rowattr callback
    committed Apr 2, 2012
Commits on Mar 30, 2012
Commits on Mar 27, 2012
  1. Fix Japanese Translation.

    committed Mar 27, 2012
Commits on Mar 26, 2012
  1. Implementation of rowattr callback

    (copy of [the previous pull request](#276))
    
    Hello Tony,
    
    I posted some time before [the suggestion](http://www.trirand.com/blog/?page_id=393/feature-request/introduce-rowattr-jqgrid-like-cellattr-but-for-setting-attributes-on-tr-element-instead-of-td/#p25555)  to implement `rowattr` callback with the functionality close to `cellattr`. The pool request contains the implementation of the suggestion.
    
    In main difference to `cellattr` is the format of return value which should be an **object** and not a **string**, so be implemented like in the example
    
        rowattr: function (rowData, inputRowData) {
            return rowData.closed ? {class: "myRowClass"} : {};
        }
    
    or
    
        rowattr: function (rowData, inputRowData) {
            return rowData.closed ? {style: "background:yellow"} : {};
        }
    
    It simplifys the analyzing. The usage of it in the form `' class="mystyle"'` should be parsed more carefully (`celp.indexOf('style') > -1`, but we have no `style` attribute inside).
    
    [The demo](http://www.ok-soft-gmbh.com/jqGrid/AbhishekSimon10-rowattr-.htm) uses XML and [another](http://www.ok-soft-gmbh.com/jqGrid/ChangeFiledNameInSearchingDialog-rowattr-.htm) uses JSON as input. The demos use modified version of `grid.base.js`.
    
    The first parameter of `rowattr` callback - `rowData` parameter has "named format" (object with the properties like in `name` from items of `colModel`). The format is the same for XML and JSON and it's not depend from `jsonReader` or `xmlReader` settings. The second parameter `inputRowData` is the row exactly like it be in the input data.
    
    Additional advantage is that one have now `rd` variable which can be used as additional parameter of `addCell` which will be forwarded to `formatter`. So one could add later one more parameter to custom formatter to have the same format of input data in case of first loading of data and the call of the next time (in case of `loadonce: true` option).
    
    Best regards
    Oleg
    
    Signed-off-by: Dr. Oleg Kiriljuk <oleg.kiriljuk@ok-soft-gmbh.com>
    OlegKi committed Mar 26, 2012
  2. Merge pull request #283 from OlegKi/master

    Fixing the performance problem of TreeGrid during expanging or collapsing of nodes having large number of children
    committed Mar 26, 2012
  3. Fixing the performance problem of TreeGrid during expanging or collap…

    …sing of nodes having large number of children
    
    (copy of [the previous pull request](#278))
    
    Hello Tony,
    
    I described the problem in [the bug fix](http://www.trirand.com/blog/?page_id=393/bugs/slow-performance-of-treegrid-on-collapse-or-expand/#p26091). In the suggested code I improved my original suggestion by usage of `$($t.rows.namedItem(id))` instead of previously suggested `$("#"+$.jgrid.jqID(id))`. The current jqGrid code uses `$("#"+$.jgrid.jqID(id),$t.grid.bDiv)` which is very slow because no index can be used for the searching.
    
    [The demo](http://www.ok-soft-gmbh.com/jqGrid/TreeGrid2.html) demonstrate the working of the fixed version which is much better as [the demo](http://www.ok-soft-gmbh.com/jqGrid/treegrid0.html) which uses jqGrid 4.3.1.
    
    Best regards
    Oleg
    
    Signed-off-by: Dr. Oleg Kiriljuk <oleg.kiriljuk@ok-soft-gmbh.com>
    OlegKi committed Mar 26, 2012
  4. Merge pull request #281 from OlegKi/master

    Support local data having type Date
    committed Mar 26, 2012
  5. Support local data having type Date

    (copy of [the previous pull request](#279))
    
    The problem as discussed in [the answer](http://stackoverflow.com/a/9728073/315935).
    
    [The demo](http://www.ok-soft-gmbh.com/jqGrid/DateToSort1.htm) can be used to reproduce the bug in existing code.
    [The next demo](http://www.ok-soft-gmbh.com/jqGrid/DateToSort2.htm) used the fixed code.
    
    Signed-off-by: Dr. Oleg Kiriljuk <oleg.kiriljuk@ok-soft-gmbh.com>
    OlegKi committed Mar 26, 2012
  6. Merge pull request #280 from OlegKi/master

    Removing of the most clear cases of the usage of unused variables
    committed Mar 26, 2012
  7. Merge pull request #270 from galigalikun/js/grid.formedit.js

    if colModel key int that string cast
    committed Mar 26, 2012
Commits on Mar 25, 2012
  1. removing the most clear cases of unused variables

    Replacing the usage of global `jQuery` to the local `$` in the `jquery.fmatter.js`
    
    Signed-off-by: Dr. Oleg Kiriljuk <oleg.kiriljuk@ok-soft-gmbh.com>
    OlegKi committed Mar 25, 2012
Commits on Mar 23, 2012
  1. Fix bind change the value when autocomplete is available. This causes…

    … losing a data when serach button is clicked.
    committed Mar 23, 2012
Commits on Mar 21, 2012
  1. Merge pull request #273 from OlegKi/master

    Add this in calls of $.unformat and $.unformat.date
    committed Mar 21, 2012
  2. Add this in calls of unformatter and formatter

    Signed-off-by: Dr. Oleg Kiriljuk <oleg.kiriljuk@ok-soft-gmbh.com>
    OlegKi committed Mar 21, 2012
Commits on Mar 14, 2012
  1. Using call in formatter.

    committed Mar 14, 2012