Skip to content

DataTable widget not working with api json result #589

@blondie63

Description

@blondie63

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Have a Rest api call returning json with some columns and rows
try to show in FF DataTable widget and fail with this err:
FF-DataTable-issue-one-column

Expected Behavior

Expected behavior is to see my data !

Steps To Reproduce

  1. create a page with DataView widget
  2. set a custom api with some data, like firebase example here: https://docs.flutterflow.io/widgets-and-components/widgets-ui-elements/base-elements/datatable
  3. connect DataTable to this api & create children
  4. set DataTable columns
  5. Run app and see the error

Bug Report Code

IT4wlsmAsI1Nobhe+KqJb/pvoCMvIjo2aJ0rk8IbGSs8JIj2OpkAWvTBTFFWXL3mYFZmP1mkhng1/Pfqk/LXOvo5AzKeUa5mysxUawn/UT+WeJCLC7qvfW1QFp9hf2Ky1p2zpSRBBOteR0Ihw2GIIvDLVhXaJpO3CzEnDfKlKdeK2SrDX1iXc2URm05KZDPz

Context

this widget does'nt works!
more info here: https://community.flutterflow.io/c/bugs/datatable

Additional info

Looking source code i see data_table_2: 2.3.10 , this version is not compatible with Flutter 3.7.3 used in FF 3.1 !!!
https://pub.dev/packages/data_table_2/changelog

Environment

- FlutterFlow version: 3.7.3
- Platform: MacOS
- Browser name and version: Chrome 111.0.5563.64 
- Operating system and version affected: iOS 16 and Browser web app running in test & run mode !

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions