We’ve developed some resources to help you work effectively from
home during COVID-19 Click to learn more
Customer service has by default an export functionality to export data to excel. Can this be deacivated/hidden for certain users?
Like this (where "grid" is the Grid instance):
The code above works for both DataTable and for Static Table v2 - but you cannot copy-paste the code from DevNet. The code contains a hidden Soft hyphen character which CS doesn't understand. You need to type the codeline yourself.
Sverre, do you have the idString for the Show Preview button as well?
Sorry, it has no idString, so it cannot be disabled. Wish for future versions....
Just to put this out...DevNet used to put a soft-hyphen in any line that contains a string of text that was longer than 35 characters without a space.
For example, the code above is 65 characters total, and contains a string of characters that is 39 characters in length. Therefore, you could expect that a soft hyphen would be placed after the 35th character.
I've updated the website so that soft hyphens will only be placed after every 100th character without a space. This should be fine for all exiting code snippets.
If your code snippets contain more than 100 characters without a space, perhaps that's a sign you should shorten your method names ;-)
Hope this helps.
From now on, I will code like this:
Note: you can use registry setting 282 'Hide Export button from grids (Hide = 1)' for this.
StängDenna webbplats använder cookies. Superoffice använder cookies främst för att övervaka trafiken på webbplatsen och för att optimera innehållet. Om du accepterar vår användning av cookies kan du fortsätta använda den här webbplatsen. Läs mer: Integritetspolicy