Questions tagged [flutter-datatable]

DataTable widget allows you to build a table that automatically sizes its columns according to what’s actually in the cells.

For more info on DataTable, watch this video By Flutter: https://youtu.be/ktTajqbhIcY

32 questions
0
votes
1 answer

Sorting columns in Flutter datatable

I have a datatable in Flutter which display data from a Firebase database. It includes two columns namely 'Registration Date' and 'Expiry Date' which I was to sort when the user taps on the respective columns. Moreover, I have used…
0
votes
2 answers

Error while starting the server by using serverpod

enter image description hereInternal server error. Failed to connect to database in future call manager. PostgreSQLSeverity.error 42P01: relation "serverpod_future_call" does not exist I want to start the server at localhost port 8080 but it shows…
0
votes
0 answers

How to create a button to dynamically add a new field in hive model

How to create a button to dynamically add a new field in hive model to store data through alert dialog and display it in a datatable by dynamcially creating a new column for that field. I took help from ChatGPT but didn't find my solution.
0
votes
2 answers

Flutter SFDataGrid display the row details in a separate screen instead of Alert Box

import 'package:flutter/material.dart'; import 'package:syncfusion_flutter_datagrid/datagrid.dart'; void main() { runApp(MaterialApp( title: 'Flutter Demo', theme: ThemeData(primarySwatch: Colors.blue), home: const…
Bhumika
  • 11
  • 3
0
votes
1 answer

How to add buttons into datatables in flutter?

I am using this package for flutter datables but the problem with this pakage is i am not able to add widget in this datatables row... Is anyone has any idea how can I do that ? I tried other packages but this is really nice. but this has that…
0
votes
2 answers

Set width of individual DataColumn in PaginatedDataTable

I have a PaginatedDataTable with 4 DataColumns. Because I have 4 columns they also don't fit on my page which makes it so you have to horizontally scroll. Only the first DataColumn is a string for name and the 3 other columns will take an int value.…
MatsL
  • 69
  • 8
0
votes
1 answer

Flutter color part of row in DataTable

Is it possible to only color a part of a row in a DataTable like 55% of the space? I am open to alternatives to the DataTable. I tried it with DataRow color but that colors the complete row.
Novarest
  • 1
  • 2
0
votes
1 answer

How to set padding inside DataCell?

Is it possible to use padding inside data cell in Data Table? It seems that padding does not work inside a data cell. DataRow( cells: [ DataCell( buildItem(), ), const DataCell( Text('text'), ), ], …
rozerro
  • 5,787
  • 9
  • 46
  • 94
0
votes
0 answers

Render DataTable rows somoorhly on 1 page in Flutter

I'm working on a desktop application project using flutter. Most of the pages contain a table to show data. my problem is, when I use the regular DataTable the app hangs for 1 to 3 seconds to render and draw all the rows of the table in one page. On…
0
votes
1 answer

flutter Table similar to shown image

I am new to Flutter. I have tried majority of data table structure but unable to create this functionality. How to create similar table structure as shown in image with dynamic data?
0
votes
1 answer

Unhandled Exception: LateInitializationError: Field '_db@26138511' has not been initialized

In my datbase I'm using the static late Database _db; to finalize the _db but as i had to use the late initializer here i'm getting this error. Also if i don't use the late initializer i get error where it tells me to use this…
0
votes
0 answers

if I have 100k data in json and I want to use it in multiselect in flutter app how would I do using search only

if I have 100k data in json and I want to use it in multiselect in flutter app how would I do using search only? [ { "id": 16905, "name": "5-HTP" }, { "id": 16906, "name": "5-hydroxytryptophan" }, { "id":…
0
votes
1 answer

I want this page to be refreshed when i revisit it from other page or add new product,

I want this page to be refreshed as the user add a new product from different page and it whenever i re-visit this page import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:firebase_auth/firebase_auth.dart'; import…
0
votes
1 answer

Couldn't map data to datarow cell, data table widget flutter

I'm creating a datawidgetto display some data in table, The data content is in a list, I tried mapping it to rows of datawidget but I get this error when I try amountpaid.map The argument type 'Iterable' can't be assigned to the parameter type…
Ganesh Sivakumar
  • 149
  • 1
  • 16
0
votes
2 answers

Flutter DataTable render error: Right overflowed by 7.5 pixels

I am trying to build an Android app in my college project but in faculty info, I am getting an error, like A RenderFlex overflowed by 7.5 pixels on the right. import 'package:flutter/material.dart'; class Faculty extends StatefulWidget { const…
VRAJ PATEL
  • 25
  • 7