Questions tagged [paginateddatatable]

32 questions
0
votes
0 answers

Flutter Web: Horizontal Scrollbar not shown upon load (only by scrolling) and will vanish after window resize

I can't make the horizontal scrollbar visible from page build. i.e. I need the horizontal scrollbar to be visible from the moment is loaded. It only appears after some horizontal scrolling but I can't rely on the users having the necessary hardware.…
0
votes
0 answers

How to setState parent from an AlertDialog that is triggered from a DataTable source?

I've been browsing for a while, but all the answers only answering 1 part of the question. I need to refresh parent state from an AlertDialog that is located inside DataTable source (outside of the state class). This is what I tried Flutter app…
0
votes
0 answers

Flutter PaginatedDataTable from GET Request, Problems Parsing Response List

Using Flutter 3.10 Web, building a List of Users for FutureBuilder with PaginatedDataTable. I have the following in a single dart file: import 'dart:async'; import 'dart:convert'; import 'package:flutter_axum/providers/url.dart'; import…
0
votes
0 answers

Why is snapshot.data empty when using FutureBuilder with PaginatedDataTable in Flutter 3.10 for Web?

Flutter 3.10: FutureBuilder with PaginatedDataTable from GET Response, but snapshot.data is Empty. I am creating an app which include a User List page showing records in a PaginatedDataTable inside a FutureBuilder. The PaginatedDataTable includes a…
0
votes
1 answer

Remove empty rows from Flutter paginated datatable

I tried to remove empty rows per page using this reference remove empty rows. It removes empty rows on page changes but when I try to remove rows on click using this code: datasList.remove(datasList[index]); notifyListeners(); I want to update the…
0
votes
0 answers

Flutter how to make PaginatedDataTable width match the width of the data?

When I create a PaginatedDataTable, the width of the table extends all across the page (probably because of the footer). See below: What I want is to get something like this that fits the width of the table: Here's a minimal example: import…
0
votes
0 answers

Flutter Paginated Datatable dynamic data from Json

I am new to flutter and I have learned paginated datatable from this. It works with static data but when I pass the json response and map with model class I am not getting the row data. My json response: Link I am getting the response but not set…
0
votes
1 answer

How to Add Horizontal Scrollbar and Vertical Scrollbar to a Paginated Data Table in Flutter for Desktop

Container( height: MediaQuery.of(context).size.height, width: 2000, // This padding value of 200 is not auto calculated, it is based on where the table ends, // If table…
0
votes
1 answer

How to create souce for Paginateddatatable using FromJson model?

I am using Mysql database as backend for flutter Web App. I have created api and model to fetch data from mysql. I am able to get the table data as Json formate. I am able to ftech the json data getting from Browser. I want to fetch this data in to…
user3030327
  • 411
  • 1
  • 7
  • 19
0
votes
0 answers

Paginate API call on multiple dependent database query

I am tying to do pagination call on database query, in normal single query it is working fine but scenario is like, there is 3 DB query in single API and also there is filtering after first or second DB call so how to achieve pagination in that ? I…
VipulVyas
  • 41
  • 4
0
votes
0 answers

Flutter: Change PaginatedDataTable page navigation position

I'm currently using PaginatedDataTable on my project. However, I'm having trouble because I want to customize the footer from this: to this: as you can see on the second picture, the pagination located on the left side of the table instead of the…
Naufal Rajabi
  • 334
  • 4
  • 13
0
votes
0 answers

How to update UI after PopupMenuItem is dismissed in flutter

I have an issue with updating the UI right after popupmenu is dismissed. The item being clicked actually is being deleted but updating it is the problem. I understand that I am calling this method from an unstatefull class that extends…
Davis
  • 1,219
  • 2
  • 8
  • 17
0
votes
2 answers

how to change the background color of column using PaginatedDataTable

i created a table using PaginatedDataTable, but now i want to add the background color of column. here is the code class _PaginationDataTableState extends State { var dts=DTS(); int…
TimeToCode
  • 1,458
  • 3
  • 18
  • 60
0
votes
1 answer

How to use a list of DataRows in a PaginatedDataTable in Flutter?

I have a DataTable where the user can dynamically add and remove DataRows. Because of that the DataTable can get really big. To improve performance I want do use PaginatedDataTable. But this Widget needs an extra class for the datasource. The basic…
Dalon
  • 566
  • 8
  • 26
0
votes
2 answers

How to update the state when user do something?

In my code the user can add DataRows to a DataTable. All DataRows are saved in a list. This List I use in a diffrent class where I show the Data of the list. The Problem is that when the user add a Row, the UI doesnt get updated so the user didnt…
Dalon
  • 566
  • 8
  • 26