maxim-saplin / data_table_2

In-place substitute for Flutter's DataTable and PaginatedDataTable with fixed/sticky header and extra features
https://pub.dev/packages/data_table_2
BSD 3-Clause "New" or "Revised" License
202 stars 135 forks source link

I need overLay Component in AsycDataTable #248

Closed SettiNitesh closed 8 months ago

SettiNitesh commented 8 months ago

https://github.com/maxim-saplin/data_table_2/assets/118504481/93c8dd42-b3db-400c-bfda-2ff4f4294441

I need data to be persist there when i am calling get api after post or put rather than showing empty layout .On top of data i need to see loader like how sort is happening like that I need .

SettiNitesh commented 8 months ago

How to implement that functionality @maxim-saplin bocz I am unable to find .

maxim-saplin commented 8 months ago

Did I get you right that you need to display the old rows faded behind the spinner? If it is the case, that's how the default example of AsyncPaginatedDataTable2 is implemented:

https://github.com/maxim-saplin/data_table_2/blob/681a717a835ba01ea053a35845e6db33ada3c731/example/lib/screens/async_paginated_data_table2.dart#L227

image