So, since the regular summary grids are not available to me because of the bug in 10.600.5 that does show properties of a grid, I need to add in a grid in the customization to be able the get the necessary properties to interact with the grid.
Not a big deal, however, now I am trying to merge 3 different queries into one dashboard. I put the tracker and the summary on separate tabs because the summary is useless and I don’t want it to show. It’s a little messier than I would like, however it functions ok, except for one thing.
If I am on one of the tracker views and I click refresh, the only query that refreshes is the first query. In order to get the second and third queries to refresh, I have to activate the summary grid, then hit refresh, then go back to the tracker. This workaround won’t be acceptable for shop floor employees.
While I can use the refresh all, the first query runs a little long if nothing a filter isn’t filled out, so it’s kind of a pain.
Ideally what I would like to do is use a custom button to call the refresh on a specific query. Any insight on how to do this? This works for the refresh button on top, but will still have the same issues with the focus on the grid.
MainController.AppControlPanel.HandleToolClick(“RefreshTool”, new Infragistics.Win.UltraWinToolbars.ToolClickEventArgs(MainController.MainToolManager.Tools[“RefreshTool”], null));
My first instinct is to try and do a goofy focus swithch, refresh, then switch back, which I think could work, but there is probably a more elegant way.
I don’t know very well how the notifications work, can I use this to trigger a refresh on add rows? This would work well for one of the queries, however I imagine I will have the same problem with refreshing the specific one…
private void edvV_EndActivity_1View_EpiViewNotification(EpiDataView view, EpiNotifyArgs args)
{
// ** Argument Properties and Uses **
// view.dataView[args.Row]["FieldName"]
// args.Row, args.Column, args.Sender, args.NotifyType
// NotifyType.Initialize, NotifyType.AddRow, NotifyType.DeleteRow, NotifyType.InitLastView, NotifyType.InitAndResetTreeNodes
if ((args.NotifyType == EpiTransaction.NotifyType.AddRow))
{
if ((args.Row > -1))
{
}
}
}