Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

How to deal with the prompt "tooManyColumnsInClassicMode"?

Answered
Zander asked on February 3, 2021

Hello,
 
I have a problem. I need to display a lot of column data in a table, and I want it to be the classic view. Can I cancel this reminder and not have it automatically converted to compact view?
 
Because my goal is to convert data to Excel.
 
Could you help me? Thank you.🥰

4 answers

Public
Zander February 3, 2021

Of course, I am fine on a large screen, but my users are not necessarily like this.😿

Public
Zander February 4, 2021

I have found the answer to the above question from here.
 
But I also want to keep the export button in the original toolbar.
 
So I want to know if I can rewrite the export method to excel? What if I can?
 
Thanks.

Public
Milena Pechura Milena Pechura Flexmonster February 4, 2021

Hi, Zander!
 
Thank you for posting to our forum.
 
Our team would like to confirm that it is possible to rewrite the handler for the “Export to Excel” tab from the Toolbar.
 
We have modified the example from the thread you sent to meet your requirements. Please have a look: https://jsfiddle.net/flexmonster/5xyrLvm8/.
The main idea is to add the beforetoolbarcreated event handler which is used to customize the Toolbar. Please see the following article for further info about this approach: https://www.flexmonster.com/doc/customizing-toolbar/.
 
Please let us know if it works for you and if any other questions arise.
Looking forward to your response.
 
Best regards,
Milena

Public
Zander February 5, 2021

Milena,
 
Thank you, it is very helpful🎉🎉.

Please login or Register to Submit Answer