Hello Abu,
I want to make the columns hidden when we click on cache appear. I’m using state persistence.
Is there a way to make it appear?
See source and image.
Cache
Hello,
I’m unable to understand the issue you are facing. Do you want to hide certain columns when you click cache button on toolbar?
or share screen recording https://screen-recorder.com
Hi Abu,
Sorry for the poor explanation of the problem I’m having.
I’ve included a video link showing how the tool works. When we hide the columns and click to clear the cache, the columns don’t reappear.
In addition to the video, I’ve attached the saved page.
Thank you for your attention.
Hi,
I understand the issue now.
You need to update following code to remove cookies. Rest code seems fine.
On line 1304 on nfe_cab.php
Cookies.remove('<?= $keycache ?>');
Should be replaced with:
Cookies.remove('jqgrid_colchooser_list1'); Cookies.remove('jqgrid_colchooser_hide_list1');
Where list1 is your grid id.
Hi Abu,
It worked, thank you very much.