New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Column selector options are not stored/saved after page reload #2747
Comments
I looked into this a bit. The toolbar (and table) is generated by the "Bootstrap-table" bower plugin. And this plugin (see bootstrap-table.com) also does not store/save the deselected/selected column toggles. So it might be a stretch to get this functionality. However, in v1.16.x of bootstrap-table they have added the option "showColumnTogleAll". See example: https://examples.bootstrap-table.com/#options/columns-toggle-all.html I have tried adding this option to application/views/reports/tabular_details.php but it doesnt work or is not recognized. Like so : |
It does work but it removes the ability to upload any tables and it also adds the Rewards table twice for some reason. |
I dont understand the "removes the ability to upload tables". Is there an option to upload tables?? I have added the "showColumnsToggleAll" option but in my installation i dont see the option in the pulldown menu |
Did you add the "showColumnsToggleAll" option to application/views/reports/tabular_details.php ? |
This below load view partial header
Then
|
It does add quite a few Improvements over the standard table. |
Maybe we should update the table widget but with 3.4.0. |
It allows page refresh, auto expand works ,full screen display and Toggle all .
|
@daN4cat Let me know what to change and I will give that a try. |
Appears to work good in Detailed Transactions but the other Reports that use Tabular_details do not. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
To reproduce:
The columns that you just deselected are displayed again...
And where are the "default" columns defined anyway?
Background information
Installation information
The text was updated successfully, but these errors were encountered: