You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using AsyncDataTableSource with dummy api and it works perfectly fine but I have requirement when user select a row I want to show icon on first column which is fixed column. Icon represent the indication that row is selected.
I'm not able find any event that update cell or refresh the cell when row is tap. Below is minimal production code thus you can have a look it. I tried notifyListeners but still no luck.
@devrndsvits - if you would like to update the column title - the best you can do is refresh the whole widget. If you want to change the row - just update the datasource. Sorry, no capacity to look in your code...
I have the same error for the notifyListeners in AsyncDataTableSource. I does not work well.
For example I added edit button at the end of row, and after click edit the Text the Text('test') should be modified to 'TextFormField(...)' but it does not changed (Note: I was tried before in other plugin it worked well, but it seems to me that the error in the notifyListeners).
Also, if i put in the DataRow( selected: true,...) the the checkbox is not selected.
Thanks a lot for amazing library @maxim-saplin
I'm using
AsyncDataTableSource
with dummy api and it works perfectly fine but I have requirement when user select a row I want to show icon on first column which is fixed column. Icon represent the indication that row is selected.I'm not able find any event that update cell or refresh the cell when row is tap. Below is minimal production code thus you can have a look it. I tried
notifyListeners
but still no luck.Any suggestion and help is highly appreciated.
UserAsyncScreen
UserAsyncDataSource
APIManager
The text was updated successfully, but these errors were encountered: