slickdart 0.1.0+7 copy "slickdart: ^0.1.0+7" to clipboard
slickdart: ^0.1.0+7 copied to clipboard

outdatedDart 1 only

Basic grid component port from SlickGrid with dynamic row height, frozen column enhancement

slickdart #

slick grid clone, for mobile,desktop devices

** Sort performance is not expected in javascript version

Parameter Description #

  • When enable 'selectActiveRow' on row selection model and with CheckboxSelectColumn in first row click on first column out side of check box will uncheck other rows if multiple row selected

Example #

Known Constraint #

  • col-span (not tested)
  • using keyboard navigation on non-editable cell and goes out of viewport will not immediate update screen until it on editable area
  • Let forzen column editable cause display unsync in un-frozen area

TODO #

  • checkbox focus need revalidate
  • ease of use,
  • Column reorder
  • adjust row height via mouse
  • efficent dynamic row height on frozen column
    • sort column should re-calcule height
    • how about insert row or delete row?
  • low performance on horzontal scrolling, fixed by extend buffer to 4block
  • Frozen column, also editable
  • Resize column
  • auto tooltip

Dynamic Row Height #

limitation: visible row: when calculate numVisibleRows, when we apply dynamic row height, minimal dynamic row height must >= single row hight Current design

  • put '_height' on row object to specify pixel height
  • add {'dynamicHeight': true} option to turn on it
  • on sorting or change data, using resetDynHeight() to re-calculate height

Mobile Device #

  • Lumia 925 => fast scrolling on vertical and horizontal
  • HTC One (M7) Chrome => fast scrolling on both vertical and horizontal
  • HTC One (M7) Firefox => smooth but slower than chrome
  • HTC One (M7) Content Shell => fast
  • IPAD2 => fast
  • Black Berry => fast

Customer Element #

Initial support customer element, see example: cust.dart

Compitable with angular.dart

  • must specify height of cj-grid
  • accept customize option
import 'slick_custom.dart'
registerElem();
<cj-grid></cj-grid>

MetaData #

Only support row css styles, see example: metadata.dart, add dynamic height recalculate

Filter View #

Use FilteredList.class in slick_util.dart to wrap data Example: ColumnFilter.dart

Header Row #

Not to mix with checkbox select column Example: headerRow.dart

3
likes
0
pub points
9%
popularity

Publisher

unverified uploader

Basic grid component port from SlickGrid with dynamic row height, frozen column enhancement

Homepage

License

unknown (LICENSE)

Dependencies

browser, logging

More

Packages that depend on slickdart