Componette

Componette

o5

o5 / grido 2.1.0

Grido - DataGrid for Nette Framework

download-cloud-line composer require o5/grido

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads Dependencies

Grido is an extension for Nette Framework. Grido helps you with data listing, formatting, sorting, paging, filtering, editing, bulk actions and exporting them. It doesn't matter which datasource you are using. For now, Grido works with Nette Database, Dibi, Doctrine and ArraySource (raw PHP Arrays).

Alt text

Installation

Via Composer

$ composer require o5/grido

Contributing

Please see Contributing File for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

  • 2.1.0 Released version 2.1.0

    • Export was completely rewritten (again, I know, but I hope for the last time :) [https://github.com/o5/grido/commit/59f37b243f6655fcf70ae8b7bf08d286c63c81ec]
      • New methods were added setFetchLimit(),setHeader(), setCustomData() [https://github.com/o5/grido/commit/fffb42ccd4eeb0f825ee528190261c86776f918f]
    • Clien-side changes:
      • We are now using HTML History [https://github.com/o5/grido/commit/2c288f659732c60187e9e1b9837940bf264dc008]
      • An "official" grido plugin repository was created [https://github.com/o5/grido/commit/76efc7229f63d1ae2aa9078bcbbcd8f1e8dadc40]
      • Fixed page prompt [https://github.com/o5/grido/commit/908acc8255de2d686b48d4dcfa232e39332ae5a1]
      • Others minor features / fixes
    • $grid->strictMode feature was added [https://github.com/o5/grido/commit/b236f1fa5c1767c659359718f72db2c41be44d03]
    • Filters\Text: Suggestion is now sorted by ORDER BY clause [https://github.com/o5/grido/commit/a7b93d8e62806fe47d65b2465be6d7945b0263b9]
    • DataSources
      • ArraySource: Improved compare method [https://github.com/o5/grido/commit/882934727be7509cbfa8fb78bc0b987667ddda15, https://github.com/o5/grido/commit/eb1350ffe356383a012894228cacd88e42a872cf]
      • Doctrine: Suggestion was fixed [https://github.com/o5/grido/commit/10ce74dd7711d4e4047715b15295eca5a11631ab]
      • DibiFluent: Fixed possible SQL Injection [https://github.com/o5/grido/commit/daaf5ed6a3c58b278d6d1b973b69b800e1048521]
    • $grid->setRememberState() is now fixed for a specific case and you can now set name of session [https://github.com/o5/grido/commit/8694c9509c5c05e6e67afae58aebdf8621a0beda]
    • Grido now throws an own exception Grido\Exception Possible BC! [https://github.com/o5/grido/commit/6952989589671093c765b2bc7078b987942afeba]
    • Filters\Check: Added ability to use checkbox filter in inline render [https://github.com/o5/grido/commit/2cf123be2fe0745f35665dee04354e0fca28b4c2]
    • Grido now uses Symfony/PropertyAccess

    For the details about full changes you can have a look at the GitHub diff.

    Next version will be 3.0.0 with backward incompatible changes! See Milestones.
  • 2.0.8 Released version 2.0.8

    • Filters: Added support for multichoice filter control

    For the details about the changes you can have a look at the GitHub diff.

  • 2.0.7 Released version 2.0.7

    • Small improvements of client-side script.

    For the details about the changes you can have a look at the GitHub diff.

  • 2.0.6 Released version 2.0.6

    • DataSources\DibiFluent fix for editable columns
    • Small improvements in Filters\Text

    For the details about the changes you can have a look at the GitHub diff.

  • 2.0.5 Released version 2.0.5

    • Composer fix only

    For the details about the changes you can have a look at the GitHub diff.

  • 2.0.4 Released version 2.0.4

    • A ton of bugs was fixed

    For the details about the changes you can have a look at the GitHub diff.

  • 2.0.3 Released version 2.0.3

    • Minor bug fixes

    For the details about the changes you can have a look at the GitHub diff.

  • 2.0.2 Released version 2.0.2

    • Fixed Doctrine datasource [#138]

    For the details about the changes you can have a look at the GitHub diff.

  • 2.0.1 Released version 2.0.1

    • Fixed client-side script for operation [#137]
    • Typos

    For the details about the changes you can have a look at the GitHub diff.

  • 2.0.0 Released version 2.0.0

    Main feature: Inline Editation! (special thanks to @koprivajakub )

    • You can try it in demo
    • Controls:
      • CMD (or CTRL) + DBL CLICK - start inline editation on focused table cell
      • ENTER (or CMD / CTRL + ENTER) - save current value
      • ESC - stop inline editation

    Other minnor changes:

    • Columns: Label can be object of \Nette\Utils\Html now (Issue 116)
    • Columns: Removed „cool url sorting representation“ (↑/↓) (Issue 123)
    • Fixed client-side script (Issue 114)
    • DataSources\Doctrine: Improved Doctrine Paginator (Issue 125)
    • Added Nette 2.2 support

    For the details about the changes you can have a look at the GitHub diff.

  • 1.0.6 Released version 1.0.6

    • Columns\Mail is deprecated now! Use $grid->addColumnEmail() instead
    • DataSources: Added DISTINCT to suggestion SELECT [#100]
    • Columns: Added custom render template variables [#102]
    • Filters\DateRange: Improved for date-time db columns [#97]
    • Grid: Added new onRegistered[] callback
    • Improved setRememberState() session handling
    • Client side fixes [#108] [https://github.com/o5/grido/commit/c8dd386a038904cfe63496f89a8bbd9ae7d08dd9]
    • And some small features

    For the details about the changes you can have a look at the GitHub diff.

  • 1.0.5 Released version 1.0.5

    • Fixed filter type date for DATETIME columns
    • Fixed remember state
    • Added SK localization
    • And some stuffs...

    For the details about the changes you can have a look at the GitHub diff.

  • 1.0.4 Released version 1.0.4

    • Added new filter DateRage
    • Added Bower package for client-side
    • Fixed a few bugs

    For the details about the changes you can have a look at the GitHub diff.

  • 1.0.3 Released version 1.0.3

    Small improvements and bug fixes.

    For the details about the changes you can have a look at the GitHub diff.

  • 1.0.2 Released version 1.0.2

    Misc bug fixes and small improvement.

    • Features
      • Grid: setDefaultSort() can contains an undefined "grid" column
      • Filter\Text: Added setSuggestionCallback()
      • Improved client-side css

    For the details about the changes you can have a look at the GitHub diff.

  • 1.0.1 Released version 1.0.1

    • Bug fixes

    For the details about the changes you can have a look at the GitHub diff.

  • 1.0.0 Released version 1.0.0

    • Removed all deprecated things from previous release
    • Component's core was refactored
    • Improved Column\Date
    • Added Bootstrap 3 compatibility

    For the details about the changes you can have a look at the GitHub diff.

  • 0.9.3 Released version 0.9.3

    This release has a lot of changes but no big new features. The Grido was refactored and covered by unit tests. You can view list of deprecated methods / constants. All deprecated things will be removed in next version 1.0.0.

    Building of condition was completely rewritten, but with BC BREAK. There are all examples of customizing a filter condition.

    For the details about the changes you can have a look at the GitHub diff.

  • 0.9.2 Released version 0.9.2

    • Bug fixes

    For the details about the changes you can have a look at the GitHub diff.

  • 0.9.0 Released version 0.9.0

    The first pre-stable release :]

  • 0.9.1 Released version 0.9.1

    Minor release - mainly client side changes...

    • JS: Removed 3rd-party libs (datepicker, typeahead, etc.)
    • JS: $.fn.grido.Grido => window.Grido = Grido
    • JS: Renamed trigger gridoAjaxSuccess => success.ajax.grido
    • CSS: Removed dependecies [Issue 53]
    • Actions\Href: Small improvement of custom render [Issue 56]
    • Exporting: Fixed name of file [Issue 55]

    For the details about the changes you can have a look at the GitHub diff.

Componette Componette felix@nette.org