tablex 0.2.0 copy "tablex: ^0.2.0" to clipboard
tablex: ^0.2.0 copied to clipboard

A production-grade Flutter data grid with zero dependency on any third-party grid engine.

0.2.0 #

New features #

  • TablexConsumer — high-level widget that wraps Tablex.lazyPaged with a bordered container, optional title/filter header slots, automatic filter-chip bar, and controller lifecycle management.
  • Sliding-window infinite scrollTablex.infinite now accepts a windowPages parameter. Old pages are evicted as new ones arrive; scroll-position compensation via jumpTo keeps the viewport stable.
  • Skeleton loadingTablexLoadingBuilder pre-populates the grid with placeholder rows so a shimmer library (e.g. Skeletonizer) has real content to animate over, on both lazyPaged and infinite grids.
  • Custom pagination footerfooterBuilder on Tablex.lazyPaged and TablexConsumer fully replaces the default footer. enablePageJump makes the page indicator an editable text field.
  • TablexToolbar — drop-in toolbar with column-visibility management, CSV export (formula-injection protected), Excel export, CSV import, and Excel import. Each action can be overridden individually.
  • prependRows / removeFirstRows / removeLastRows on TablexController — used internally by the sliding-window but available for manual row management.
  • Sort race-condition guard — a generation counter on Tablex.infinite ensures that in-flight fetch results are discarded when a sort or reset fires before they resolve.

Bug fixes #

  • Fixed infinite-scroll first-page load using appendRows instead of replaceRows after a sort reset, causing skeleton rows to persist above the sorted results.
  • Fixed header row being included in the skeleton loading scope, causing column headers to shimmer on re-fetch.

Tests #

  • Added 13 unit tests for the sliding-window controller methods (prependRows, removeFirstRows, removeLastRows).
  • Added 26 widget + unit tests covering TablexQuery.copyWith, static sort (ascending, descending, clear, icons), lazy-paged fetch (initial query, sort re-fetch, error state, custom error widget), and infinite-scroll (skeleton replace, sort re-fetch, stale-result discard).

0.1.0 #

  • Initial release.
  • Four grid modes: static, lazyPaged, infinite, and select.
  • Built-in cell renderers: identifier, twoLine, avatarTwoLine, currency, date, statusChip, actions.
  • Column resizing, sorting, and column-visibility manager.
  • Three density presets: compact, standard, comfortable.
  • Multi-row selection with customisable summary bar and bulk actions.
  • Theming via TablexThemeData.
  • i18n support via slang.
2
likes
0
points
275
downloads

Publisher

unverified uploader

Weekly Downloads

A production-grade Flutter data grid with zero dependency on any third-party grid engine.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, excel, file_picker, flutter, intl, slang, slang_flutter, web

More

Packages that depend on tablex