Button and save issues

Hi,
I have found two strange behaviors in the PivotView that I need to clarify:
1) There is an issue with the buttons: sometimes the captions do not appear. For instance, when I try to delete a report, the caption are missing. This happens also when the prompt asks you to save changes, when you change report. In the .zip file there is a screenshot of the issue, after clicking on the trash bin icon to delete a report.
2) With respect to saving a report, it seems to be missing a piece of code in the "Save report" method. In fact, if you close and re-open the browser, saved reports are missing (also in the attached project).
In ASP.NET Core component, there is this extra line:
localStorage.pivotviewReports = JSON.stringify(reports);

that seems to save the reports to the local storage.
Does this mean that we need to manually call the Microsoft JSInterop environment to save the reports in the local storage? Or is there an already existing method of the component we can call to do it automatically?

Thank you.
Kind regards,
Riccardo Zucchetto.

Attachment: PivotView2_41532bc8.zip

20 Replies

SN Sivamathi Natarajan Syncfusion Team April 29, 2020 08:43 AM UTC

Hi Riccardo, 

Thanks for the sample and please find our response. 

Query 
Response 
There is an issue with the buttons: sometimes the captions do not appear. For instance, when I try to delete a report, the caption are missing. This happens also when the prompt asks you to save changes, when you change report. In the .zip file there is a screenshot of the issue, after clicking on the trash bin icon to delete a report. 
We are unable to reproduce the issue in the provided sample. So, we have taken a video for your reference which is attached in the below link. 

 
Kindly provide us the exact replication steps to reproduce the same at our end? 

Note: The problem may be occurred with the browser cache which will override the page theme. So, clear the cache then check the same. To clear browser cache press “Ctrl+F5” which will refresh the page. Or open the sample in incognito mode.  
With respect to saving a report, it seems to be missing a piece of code in the "Save report" method. In fact, if you close and re-open the browser, saved reports are missing (also in the attached project). 
In ASP.NET Core component, there is this extra line: 
localStorage.pivotviewReports = JSON.stringify(reports); 

that seems to save the reports to the local storage. 
Does this mean that we need to manually call the Microsoft JSInterop environment to save the reports in the local storage? Or is there an already existing method of the component we can call to do it automatically? 
Except Blazor, in rest of the platforms we can frame JavaScript codes where we can able to access the local storage option. But in Blazor, it couldn’t be achieved so that we have done the operation in local variable. 

The report manipulation operations can be done in sample level through events where customer can save and load the report in desired location. It may be local storage, data base etc..  

So, we suggest you to handle the storage related codes at your end in same level based on your requirement. 


Regards,
Sivamathi. 



RZ Riccardo Zucchetto April 29, 2020 09:32 AM UTC

Hi Sivamathi,
Thank you for your response.
As for the report saving, I suspected this was the reason; I will handle it on my end in some way. Thank you.
As for the button issue, I still have the same issue with the project I previously attached, even clearing the cache or using incognito mode.
Now I attach a different project, created from scratch, with a video showing what I do to reproduce the issue.
Moreover, you can see that I also get the chart above the table (which shouldn't happen), while in your video there is only the table (as it should be).
I am using the latest Nuget version, 18.1.46.

I hope that this project helps you to identify the issue.

Kind regards,
Riccardo Zucchetto

Attachment: PivotChartAndButton_3ef8e2fd.zip


SN Sivamathi Natarajan Syncfusion Team April 30, 2020 07:15 AM UTC

Hi Riccardo, 

Still we are unable to reproduce the issue in the provided sample. And, we didn’t made changes in the sample and directly ran it. The sample refers v18.1.0.46. 

 

 

So, kindly provide us the following information, 

-              Operating system. 
-              Machine resolution. 
-              Browser and its version. 
-              Browser resolution (zoom). 

The above information would be helpful for us to proceed further. 

Regards,
Sivamathi. 



RZ Riccardo Zucchetto April 30, 2020 07:24 AM UTC

Hi Sivamathi,
Thank you for your reply.
Here there are the information requested:
- Operating system: Windows 10 Pro, build 18363.778
- Machine resolution: 1920 * 1080
- Browsers and versions: Google Chrome 81.0.4044.129, Mozilla Firefox 75.0
- Browsers zoom: 100%

I mainly use Google Chrome, but when I opened the page with Mozilla Firefox I got both the problem with the chart and the problem with the buttons, even if it was the first time I used it.
If you need any other information just ask me.
Thank you,
Riccardo


SP Sastha Prathap Selvamoorthy Syncfusion Team May 1, 2020 07:13 AM UTC

Hi Riccardo Zucchetto, 
 
Thank you for the details.  
 
We have checked the sample with the information provided. We can reproduce the reported issues at our end now. So, we have logged a bug report on this and the fix for the reported issues will be available in our upcoming patch release which is expected to be available at the end of this month. You can track the same by using the following link. 
  
  
Regards, 
Sastha Prathap S. 



RZ Riccardo Zucchetto May 4, 2020 07:02 AM UTC

Hi Sastha,
Thank you very much for your answers; I'm glad you managed to reproduce the issue, I will track it!

Riccardo


SN Sivamathi Natarajan Syncfusion Team May 5, 2020 04:57 AM UTC

 
Thanks for the reply and we appreciate your patience until then. 
 
Regards, 
Sivamathi. 



ME Mouli Eswararao Syncfusion Team May 14, 2020 03:11 PM UTC

Hi Riccardo, 
We are glad to announce that our Essential Studio 2020 Volume 1 service pack release v18.1.0.52 is rolled out where the solution for the issue Pivot Table not display with respect to its view port when using toolbar (https://www.syncfusion.com/feedback/14015/) included and is available for download under the following link.  
Meanwhile, we have prepared a sample for your reference. Please check the below sample link. 
We thank you for your support and appreciate your patience in waiting for this release.  Please get in touch with us if you would require any further assistance. 
Regards,
Mouli
 



RZ Riccardo Zucchetto May 14, 2020 03:36 PM UTC

Hi Mouli,
I still experience the issue.
I attach an example with the problem (I am using the same OS, browser and screen resolution).
It happens when you open an empty pivot grid (empty = nothing on rows, columns and values).

Thank you,
Riccardo

Attachment: Pivot_Olap_fd2deed6.zip


ME Mouli Eswararao Syncfusion Team May 15, 2020 03:22 PM UTC

Hi Riccardo, 
Sorry for the inconvenience caused. 
We found that the issue is again reproduced in few scenario as well. But, we have fixed it. And the fix will be available in our upcoming weekly patch release which is estimated to be rolled out on 20th May, 2020. 
We appreciate your patience until then. 

Regards,
Mouli 



RZ Riccardo Zucchetto May 15, 2020 03:25 PM UTC

Hi Mouli,
Thank you for your help, I will wait for the next week release!

Thank you,
Riccardo


SN Sivamathi Natarajan Syncfusion Team May 18, 2020 04:54 AM UTC

 
Thanks for your patience. 
 
Regards, 
Sivamathi. 



ME Mouli Eswararao Syncfusion Team May 20, 2020 03:05 PM UTC

Hi Riccardo,

We have fixed the issue in the latest nuget(18.1.53) it is available in nuget.org. Please update your nuget to latest version to fix the issue. Also we have ensured it in your provided machine configuration. 
 
 
Meanwhile we have attached a sample with latest nuget and video for your reference find it in below link.

Sample and Video Link: https://www.syncfusion.com/downloads/support/forum/153746/ze/Pivot_Olap_updated398730965
 
 
 
Kindly ensure the fix in your machine and revert us if any concern. 

Regards,
Mouli.
 



RZ Riccardo Zucchetto May 20, 2020 04:08 PM UTC

Hi Mouli,
I still experience the issue.
The settings are still the same; I attach the example.
The only difference I noticed with respect to your video is that I have a 125% zoom in the System settings, while your is 100%.

Thank you,
Riccardo

Attachment: Pivot_Olap_e15f2e20.zip


SN Sivamathi Natarajan Syncfusion Team May 21, 2020 07:40 AM UTC

Hi Riccardo, 

Sorry for the inconvenience caused. 

We have checked the issue in multiple machines where it was fixed but still reproduced in your machine. So, we need to analysis it further about the possibilities. So, we will update you the further details in two business days (26th June, 2020). 

We appreciate your patience until then. 

Regards,
Sivamathi. 



RZ Riccardo Zucchetto May 21, 2020 07:49 AM UTC

Hi Sivamathi,
Thank you very much.
Just a quick note: I use the 125% zoom on my laptop because it is the recommended one, and I have never changed it, so it is a default setting on my laptop (and probably on many PCs).

Riccardo


SN Sivamathi Natarajan Syncfusion Team May 22, 2020 10:11 AM UTC

Hi Riccardo, 
 
Sure. We will consider the machine setting as well. 
 
Regards,
Sivamathi. 



ME Mouli Eswararao Syncfusion Team May 27, 2020 01:45 PM UTC

Hi Riccardo,  
 
We have fixed the issue in the latest nuget(18.1.54) it is available in nuget.org. Please update your nuget to latest version to fix the issue. Also we have ensured it in your provided machine configuration for screen resolution 125% and also we have checked in multiple resolutions on multiple machines.   
  
Meanwhile we have attached a sample  with latest nuget and video for your reference find it in below link.

Sample and Video Link: https://www.syncfusion.com/downloads/support/forum/153746/ze/Pivot_Olap_chart947244806
 
 
Regards,
Mouli
 



RZ Riccardo Zucchetto May 27, 2020 02:05 PM UTC

Hi Mouli,
Now it seems to work correctly!
I had the same small issue just once (when clicking on the chart without having any axes inserted), but I have never been able to reproduce it again. If it happens again I will let you know, but it currently works as it should on opening.

Thank you very much for your help and your work!
Riccardo


ME Mouli Eswararao Syncfusion Team May 28, 2020 02:18 PM UTC

Hi Riccardo,

Thanks for the reply, 
Please let us know if you face any other problems, we will be happy to assist you. 
Regards,
Mouli  


Loader.
Up arrow icon