bwu_datagrid 0.0.26

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 41

Polmyer Element

Build Status

Welcome to BWU Datagrid

BWU Datagrid is an advanced Polymer.dart grid/spreadsheet component

BWU Datagrid is a Dart port from SlickGrid

Find examples in the wiki.

**UPDATE: August 27th, 2014

Status

some things are already working:

  • Basic rendering
  • Scrolling and manual column resize
  • Editing, Custom Editors, Custom Validators
  • The examples work also when built to JavaScript
  • Full keyboard navigation
  • Column resize/reorder/show/hide
  • Column autosizing & force-fit
  • Pluggable cell formatters & editors
  • Support for editing and creating new rows.
  • Advanced detached & multi-field editors with undo/redo support.
  • Background post-rendering for richer cells

Some highlights (when it's ready):

(This description is copied from SlickGrid. The Dart port is not there yet)

  • Adaptive virtual scrolling (handle hundreds of thousands of rows with extreme responsiveness)
  • Extremely fast rendering speed
  • Supports jQuery UI Themes (not sure yet)
  • Configurable & customizable
  • Grouping, filtering, custom aggregators, and more!
  • “GlobalEditorLock” to manage concurrent edits in cases where multiple Views on a page can edit the same data.
  • Support for millions of rows

Screenshots

Composite Editor

composite_editor_item_details

Custom Editors

e03_editing_01

Inline Filter, Paging, ...

e04_model

Tree functionality

e05_collapsing

Alternative Display

e08_alternative_display

Async Post Render

e10_async_post_render

Header row

header_row

Checkbox row select

checkbox_row_select

Sort by column ascending/descending

sort_ascending       sort_descending

0.0.24

  • Fix #125 (missing .toList()

0.0.23

  • Fix #121 (Unhandled exception: type 'int' is not a subtype of type 'double'.) in newer Dartium versions (1.13.0-devx)

0.0.22

  • fix for breaking change in Dart 1.10.0 in classes.add

0.0.21

  • widen dependency constraint on quiver

0.0.20

  • use dartformat
  • extend dependency constraint to allow Polymer 0.16.0

0.0.19 (not published)

  • exclude example/asset/example.css and lib/asset/smoothness/jquery-ui-1.8.16.custom.css from being inlined by the Polymer transformer.
  • Move sparkline to dev_dependency
  • Remove script tags for platform.js and dart_support.js from entry pages because pub build/pub serve adds them automatically (platform.js was also renamed to web_components.js anyway).

0.0.18

  • Widen dependency constraints on Polymer
  • !! Polymer 0.15.0 or some Dart update broke drag-n-drop for range selection and row reordering. Drag-n-drop for column reordering still works (doesn't use HTML5 drag-n-drop) I'll have yet to investigate to find the cause.

0.0.17

  • Update to Polymer 0.14.0
  • Change DataView row id from String to dynamic

0.0.16

  • Add BwuAttached event to simplify remove an re-attach. See also #97

0.0.15

  • Possible fix of #97

0.0.14

  • Upgrade to Polymer 0.13.0

0.0.13

  • Remove the blue background added for debugging purposes only.

0.0.12

  • Looks much better in Firefox (haven't changed anything - maybe the new Firefox (31) has better custom element/shadow DOM support or the Polymer polyfills work better on Firefox now (or both) There are still a few issues with Firefox though.
  • Updated to Polymer 0.12.1
  • Add example 11 auto-height
  • Add example 12 fill-browser
  • Add example 13 getItem-sorting
  • Add example header-row
  • Add example checkbox row select
  • Add example spreadsheet
  • Add example grouping

0.0.11

  • Add example 10 async post render
  • Uses BWU Sparkline for inline charts
  • Uses Polymer 0.11.0-dev.6

0.0.10

  • Nothing (inadvertently skipped)

0.0.9

  • Add example 09 row reordering
  • Add drag and drop
  • Add cell selection/range selection
  • Add example 08 alternative display

0.0.8

  • #51 add tree functionality (expand/collapse) to the grid

0.0.7

  • Fix #48 click header to sort the column leads to drag

0.0.6

  • Add example 04_model
  • Add columnpicker
  • Add reorder columns
  • Add filter
  • Add sort by click on the column header
  • Add paging
  • Add top-panel
  • Add force fit columns
  • Add synchronous resize

0.0.5

  • add example composite_editor_item_details added
  • add example totals_via_data_provider added
  • upgrade to Polymer 0.10.0-pre.13

0.0.4

  • add example 03a_compound_editors added
  • add example 03b_editing_with_undo added
  • add example 07_events
  • add example 14_highlighting

0.0.3

  • add basic editing support
  • add example 03_editing
  • fix examples to run when built to JavaScript and are available on GitHub Pages

0.0.2

  • fix formatters
  • add example 02_formatters

0.0.1

  • can display data
  • can scroll
  • can resize columns
  • add plugin bwu_auto_tooltips
  • add example-autotooltips

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  bwu_datagrid: "^0.0.26"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


      import 'package:bwu_datagrid/bwu_datagrid.dart';
  
Version Uploaded Documentation Archive
0.0.26 Feb 5, 2017 Go to the documentation of bwu_datagrid 0.0.26 Download bwu_datagrid 0.0.26 archive
0.0.25 Aug 18, 2016 Go to the documentation of bwu_datagrid 0.0.25 Download bwu_datagrid 0.0.25 archive
0.0.24 Dec 3, 2015 Go to the documentation of bwu_datagrid 0.0.24 Download bwu_datagrid 0.0.24 archive
0.0.23 Nov 11, 2015 Go to the documentation of bwu_datagrid 0.0.23 Download bwu_datagrid 0.0.23 archive
0.0.22 May 28, 2015 Go to the documentation of bwu_datagrid 0.0.22 Download bwu_datagrid 0.0.22 archive
0.0.21 May 14, 2015 Go to the documentation of bwu_datagrid 0.0.21 Download bwu_datagrid 0.0.21 archive
0.0.20 Mar 11, 2015 Go to the documentation of bwu_datagrid 0.0.20 Download bwu_datagrid 0.0.20 archive
0.0.18 Sep 27, 2014 Go to the documentation of bwu_datagrid 0.0.18 Download bwu_datagrid 0.0.18 archive
0.0.17 Sep 12, 2014 Go to the documentation of bwu_datagrid 0.0.17 Download bwu_datagrid 0.0.17 archive
0.0.16 Sep 7, 2014 Go to the documentation of bwu_datagrid 0.0.16 Download bwu_datagrid 0.0.16 archive

All 27 versions...

Analysis

We analyzed this package on Jun 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.60.0
  • pana: 0.11.3

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
39 / 100
Health:
Code health derived from static analysis. [more]
36 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
51 / 100
Overall score:
Weighted score of the above. [more]
41
Learn more about scoring.

Platforms

Detected platforms: web

Primary library: package:bwu_datagrid/bwu_datagrid.dart with components: html.

Suggestions

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 42 errors 56 hints.

    Strong-mode analysis of lib/bwu_datagrid.dart failed with the following error:

    line: 3161 col: 9
    The operands of the '&&' operator must be assignable to 'bool'.

    Strong-mode analysis of lib/components/bwu_pager/bwu_pager.dart failed with the following error:

    line: 72 col: 53
    The element type 'bool' can't be assigned to the map value type 'int'.

    Similar analysis of the following files failed:

    • lib/core/event_bus.dart (error)
    • lib/dataview/dataview.dart (error)
    • lib/editors/editors.dart (error)
    • lib/groupitem_metadata_providers/groupitem_metadata_providers.dart (error)
    • lib/remote_model/remote_model.dart (error)
    • lib/components/bwu_column_picker/bwu_column_picker.dart (hint)
    • lib/core/event_data.dart (hint)
    • lib/datagrid/helpers.dart (hint)
    • lib/dataview/aggregators.dart (hint)
    • lib/dataview/helpers.dart (hint)
    • lib/effects/sortable.dart (hint)
    • lib/formatters/formatters.dart (hint)
    • lib/plugins/cell_range_decorator.dart (hint)
    • lib/plugins/cell_selection_model.dart (hint)
    • lib/plugins/row_move_manager.dart (hint)
  • Package is getting outdated.

    The package was released 70 weeks ago.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use bwu_datagrid.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.0.0 <2.0.0
bwu_utils_browser >=0.0.2 <0.1.0 0.0.3+1
polymer >=0.12.1 <0.17.0 0.16.4+4 1.0.0-rc.19
quiver >=0.18.2 <0.25.0 0.24.0 0.29.0+1
quiver_log >=1.0.1 <2.0.0 1.0.5
Transitive dependencies
analyzer 0.27.6 0.32.1
args 0.13.7 1.4.3
async 2.0.7
barback 0.15.2+16
browser 0.10.0+3
bwu_utils 0.0.2 0.1.3
charcode 1.1.1
cli_util 0.0.1+2 0.1.3
code_transformers 0.4.2+3 0.5.1+5
collection 1.14.10
convert 2.0.1
crypto 2.0.3
csslib 0.13.7+1 0.14.4
dart_style 0.2.11+1 1.0.14
func 0.1.1 1.0.0
glob 1.1.5
html 0.12.2+2 0.13.3+1
initialize 0.6.2+7
intl 0.15.6
isolate 0.2.3 2.0.1
logging 0.11.3+1
matcher 0.12.2+1
meta 1.1.5
observable 0.14.0+1 0.22.1+3
observe 0.14.0 0.15.1
package_config 1.0.3
path 1.6.0
plugin 0.2.0+2
polymer_expressions 0.13.1+1
polymer_interop 0.1.2+1 1.0.0-rc.10
pool 1.3.5
smoke 0.3.6+3
source_maps 0.10.5
source_span 1.4.0
stack_trace 1.9.2
string_scanner 1.0.2
template_binding 0.14.0+6
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+8
web_components 0.12.5
when 0.2.0
which 0.1.3
yaml 2.1.14
Dev dependencies
bwu_sparkline >=0.0.2 <0.1.0
test ^0.12.0