I don't understand. Do you want to tell the IDataProvider to retrieve new data (as you explained that you are doing database requests) or do you want to update the view for a single row. The last one should be achievable by fireing a RowUpdateEvent.
Thnx, I think RowUpdateEvent was, what i was looking for.
My workflow is the following:
- I trigger a RowUpdateEvent
- the NatTable asks the Body IDataProvider for new Data for this row
- IDataProvider looks up the DB
- the NatTable repaints the row with new data from IDataProvider
One more question:
assuming I found a type of event, which I would like to listen for (ScrollEvent). Is there any mechanism, how I would listen for this events?
You need to know that events are fired the layer stack upwards and that you can listen to events by creating and registering a ILayerEventHandler to the layer where you want to process it.