at the risk of being picked on…
Is it possible to add rows to an EpiDataView?
I have a dashboard and have data displayed in a grid. I would like to append data to the grid using the same query that created the grid with a different selection filter. I do not see any Methods on the EpiDataView that looked like they could do this
So technically speaking yes you could do this…
A DataView is nothing but a DataTable.defaultView so if you can get a hold of the original dataTable then you can add rows to it all day long.
You can use the DataView.Table property to get the main DataTable… Try this
OK, so I have added the rows to the dataView.Table but I can’t get the grids in the dashboard to reflect the changes. I tried every combination of dataview.Notify I could think of and no dice
Strangely what does work is popping up a message box BEFORE the data gets added to the dataView.Table – then the screen gets updated.
This is in a deployed dashboard assembly and trying a ‘refresh’ just loads the dashboard with data again
So for now, when the dashboard gets used, they will have to click OK to a message box.