Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Controls on Pivot disappear

I have an app with a pivot control. The pivot control has two items (pages), both contain a grid. The grids contain a few buttons and one a map and the other a text block. When the app first runs the pivot works as expected. However, after the app has been running some time, like a day, all the controls on the pivot disappear after pivoting (or swiping). They appear momentarily while swiping, but disappear again once the pivot rests.

Has anyone else experienced this? What could be the cause and solution?

Video: http://www.youtube.com/watch?v=nd7bfTJ53Nk

Code: https://github.com/JamieKitson/TrackLog/

like image 629
Jamie Kitson Avatar asked Nov 19 '13 23:11

Jamie Kitson


People also ask

Why did my pivot table options disappear?

The field list will disappear when a cell outside the pivot table is selected, and it will reappear again when a cell inside the pivot table is selected. The Field List Button is a toggle button. This means we only have to turn it on/off once to keep the setting.

Where did my pivot table tools go?

If you've selected an Excel table, you'll see the Table Tools with a Design tab. If you've selected a PivotTable, you'll see the PivotTable Tools with an Analyze and a Design tab. The Table Tools aren't available on the ribbon in Excel for the web, so you won't be able to use them to make design changes to your table.

How to hide/show all field buttons in Pivot Chart?

(1) Click the field Buttons once again, all field buttons will be shown in selected Pivot Chart again. (2) To hide/show a kind of field buttons, such as Axis Field buttons, click the arrow at the bottom-right corner of Field Buttons, and then uncheck/check the Axis Field Button from the drop down list.

Why is my pivot table field list missing?

However, the pivot table field list can go missing (get disabled) if you accidentally press the close button in the top right corner of the field list. The close button hides the field list. This means that it will NOT reappear when you select a cell inside a pivot table.

How do I close the field list in a pivot table?

Click the Field List button on the right side of the ribbon. This is also a toggle button that will show or hide the field list. The most common reason the field list close button gets clicked is because the field list is in the way. Sometimes it covers up the pivot table and forces you to scroll horizontally.

How to display captions and filter drop downs in pivot table?

Right click on any cell in the Pivot Table and under Pivot Table Options > Display, ensure that Display Field captions and filter drop downs box is ticked.


1 Answers

Quite old question, but still unanswered. It seems like it's because of Application_Deactivated event handler, which runs when application is sent to background:

private void Application_Deactivated(object sender, DeactivatedEventArgs e) {      diagLog("Deactivated, reason: " + e.Reason); } 

In this event handler you should set RunningInBackground = true

Hope that helps

like image 199
Umriyaev Avatar answered Sep 27 '22 18:09

Umriyaev