Questions tagged [paginateddatatable]
32 questions
4
votes
1 answer
Flutter, How can I change page programmaticly in PaginatedDataTable?
I have a PaginatedDataTable and searchbar, It's work great but when I Searched my DataTable is not going to first page. When I click first Page its going first page and my new filtered list is showing. How can I change page programmaticly in…

Şerefcan Oğuz
- 119
- 8
3
votes
1 answer
Implement Sorting to PaginatedDataTable Flutter
I have tried to find a widget that has the operation of a datagrid, and I found the PaginatedDataTable widget, but I could not find any example where it has the sorting implemented, any ideas?
I have tried to find a widget that has the operation of…

Miguel Flores
- 133
- 7
3
votes
1 answer
flutter PaginatedDataTable row color
I use a PaginatedDataTable and I wish that the row been colored when selected.
I found that on simple DataTable:
DataRow(
color: MaterialStateColor.resolveWith(
(Set states) =>…

Laurent
- 210
- 4
- 15
2
votes
0 answers
Create Tabbed View in Paginated Reports (Power BI Report Builder)
I need to design a report extracted from excel (multiple tabs) and convert it into paginated reports with multiple tabs. I mean there should be one paginated report with multiple tabs to show the data. Any idea if this is doable in power bi report…

Ravi Prakash
- 21
- 1
2
votes
1 answer
Flutter Paginated Data Table: Filter RowData
I have been using the PaginatedDataTable widget in flutter and am looking to add a search bar to filter down the rows based on the input
However there is no clear way to do this; most tutorials only show sorting the columns.
When I modify the…

Witted
- 422
- 1
- 4
- 14
2
votes
2 answers
showing horizontal scroll bar flutter
I want to always show the scroll bar below the datatable for the web version. But it's showing this error message:
The Scrollbar's ScrollController has no ScrollPosition attached.
and the scroll bar doesn't work.
Scrollbar(
isAlwaysShown: true,
…

Kyaw Thiha
- 23
- 2
2
votes
1 answer
How to pass data from class of extends DataTableSource to StateFull Class
I have PaginatedDataTable and I put property of source's PaginatedDataTable to another class.. here is the code
class MainPage extends StatefulWidget {
MainPage({Key key}) : super(key: key);
@override
_MainPageState createState() => new…

wahyu
- 1,679
- 5
- 35
- 73
1
vote
1 answer
Flutter app state not mounted (setState) on click inside DataTable
Whenever I click within a DataRow and try to setState(), apparently the main app state is not mounted. If anyone can point me into the right direction as to why this happens, I would greatly appreciate it. I really need to be able to update the app…

Savado
- 557
- 1
- 3
- 18
1
vote
1 answer
Flutter PaginatedDataTable causing overflow when browser is resized
I have a webpage that is enclosed in a List with Scrollbar. The body is a SideNavigationBar and the content. The content portion is PagingatedDataTable. When I resize the browser, I see that scroll works. However, the PaginatedDataTable always throw…

NothingBox
- 345
- 5
- 15
1
vote
1 answer
Expected a value of type 'User', but got one of type 'Null' while trying to get firestore data in to PaginatedDataTable on flutter web?
I am trying to show one of my firestore collection data on PaginatedDataTable on flutter web application. But getting the error. Please fine my code and debug error below. If below approach is not correct please let me know a best approach. I want…

user3030327
- 411
- 1
- 7
- 19
1
vote
0 answers
Flutter PaginatedDataTable - DataTableSource not sorting properly when the data changes
I'm trying to create a paginatedDataTable that can be filtered, however if the data is filtered, the sorting doesn't work.
after adding some print checks, it shows that the data is already filtered & sorted properly, however the notifyListeners()…

flutter_bee
- 150
- 9
1
vote
2 answers
PaginatedDataTable in flutter
Who know well PaginatedDataTable class in flutter ? I have discovered it this day and i wonder if it can not resolved my problem. I have data from API REST (PHP/MYSQL) and i want load datas in a table with multiple pages. I prefer don't load all…

axis-medias
- 59
- 7
1
vote
0 answers
Flutter : PaginatedDataTable is it possible to fetch the page now?
How do I get the page information currently being viewed from'PaginatedDataTable'?
This is example code.
new PaginatedDataTable(
header: const Text('Nutrition'),
rowsPerPage: _rowsPerPage,
…

user15320702
- 41
- 3
1
vote
0 answers
onLongPress PaginatedDataTable DataRow
What is the best way to have an entire row trigger a callback when Long Pressing anywhere in it. Im using a PaginatedDataTable, which contains DataRow's of DataCell's.
The only way I found was by adding a TableRowInkWell or GestureDetector inside…

Parampal Pooni
- 2,958
- 8
- 34
- 40
0
votes
0 answers
Manipulate rows per page to appear when certain amount of data is met, Flutter paginated datatable
Good day,
I have a basic paginated datatable with rows per page multiple of 10, like this:
int _rowsPerPage = PaginatedDataTable.defaultRowsPerPage;
PaginatedDataTable(
rowsPerPage: _rowsPerPage,
onRowsPerPageChanged: (int? value) {
…

Aseng gnesa
- 3
- 2