Hide a band in stimulsoft report based on condition - stimulsoft

I have a report with stimulsoft.
This report consists of 3 bands, how can I hide a band based on field data(i.e ID is null) at run time.

You could use the Conditions. Specify an expression when the band should be hidden and uncheck the Component is Enabled option there.

Related

Sharepoint Drop-Down Column with Multiple Select Choices

One of my columns contain 200 countries. End user should be able to select multiple items from the list.
Sharepoint multiple choice column only allows for one of three choices:
Drop-Down Menu
Radio Buttons
Checkboxes (allow multiple selections)
I'd like to be able to combine the features of Drop-down menu and checkbox.
Is this possible and is there a workaround in Sharepoint designer?
Not looking to do this in InfoPath forms.
Thanks!
You need to put your 200 Countries values into a Custom List, then use a Lookup column rather than a Choice column.  With the Lookup column, you can allow multi-selects.
If you can change your field type to another then use type "Lookup column with multiple values". It has good UI experience. But you must create additional list with your 200 countries.
If you want to use only choice type field then I think no, you must add custom control on form.
May be like this:
1. Add script on form.
2. Script will render some jquery autocomplete control (https://jqueryui.com/autocomplete/#combobox) or select2 control (https://select2.org/dropdown or https://select2.org/selections) on form load. If no third party controls exists that applied to you then create own control with necessary features. Populate it from out-of-box field options.
3. Hide out-of-box field.
4. Add onChange or onPreSave handlers that copy values from your custom control to out-of-box field.
When form saved it save out-of-box field value to list item.

Disable a Band that has an Empty Data in Stimulsoft Reports

I have a Band in a Stimulsoft Report which sometimes it have Empty Data.
When it's Empty, it shows the empty row and if numeric, it shows 0.
I want the band to display but I don't want it display when it's Empty.
How can I disable it?
If I should put a Condition, what is the command? & what should I do?
You should use next expression DetaSource.Count == 0 and uncheck the Component Is Enabled option.

Tablesorter : columnSelector default hidden WITH columnSelector_saveColumns:true

I have the same problem as in this post. My table shows several information such as the sector of a company. A sector can be classified in 4 levels so depending on the user he might want a general sector or a very detail one (to compare companies with help of a dropdown filter).
As said by Mottie in the post mentioned above, using "columnSelector-false" does work but as long as I don't set columnSelector_saveColumns to true. But I want both... There is about 16 columns and so, the user might be interested by some columns and wants to hide some without unchecking them every time he comes back to this page within the same session.
If nothing is stored, the default value (3 columns hidden on my case) should be applied. Then the values is stored in memory (hidden) and this value is used until the user select the column via the columnSelector and then the visible value is stored in memory etc...
Isn't is possible to do like that with the plugin?
Is there something I can do ?
Thanks for your help.
I'm using tablesorter v2.28.8.
EDIT
After several test, I've decided to reinclude the Auto mode (which I had deactivated). Indeed it did exactly what I want. So it becomes :
columnSelector_mediaquery : true // Auto mode activated
columnSelector_mediaqueryHidden: true // Hide columns defined as columnSelector-false so I can decide what to hide by default.
But, I have a table with 16 columns (short width) : 3 are hidden by default, 5 are under a colspan.
Demo 1 (without colspan) : It works as I want (columns are saved while not in auto mode, and in auto mode I decide which columns to show to the user)...but no colspan.
Demo 2 (with colspan) : Once I have colspan the headers Type2 et Type 3 are not hidden in auto but 2 <td> have been hidden.
It's a bug, isn't ?
Thanks for your advice.

Hide a band in stimulsoft report

I have a mrt report with multiple bands,
Can I hide any of this bands on some condition ?
For example there is a string field in footerband and I want to hide this band if this field is empty
You can use the Conditions for this.
There is a Component is Enabled option. You should disable it. After this if the Condition expression is true the component will be disabled.

Make top 5 OLAP filter stay in excel pivotchart

I want to show the top 5 customers by revenue along with the top 5 regions by revenue in one workbook. I want a filter for customers and regions, so I can multi-select which customers / regions will be displayed. I can choose to only displays the top 5 elements ordered by revenue with that same filter.
My problem is: the user can now filter by regions and customers in the filter elements, but the filter elements also do have the option to remove filtering. But this also removes the top 5 clause. I want the top 5 clause to stay all the time (ideally I would also like to offer a top 10 option, but that is a different story). Is this possible?
I found the answer here:
http://social.msdn.microsoft.com/Forums/en-US/b4392106-f73b-48aa-894b-22f2d291d9cf/excel-2010-slicers-clearfilter-clears-topn-filter-on-a-pivottable?forum=exceldev
To fix, click in the pivot table, right click and choose PivotTable
Options. In the Totals & Filters tab, check "Allow multiple filters
per field". This was unchecked for me by default. Refresh your
PivotTable and reinsert your slicer. This will maintain the Top(N) or
Top 10 filter while still allowing you to manipulate the data with the
slicer. Clearing the filter through the slicer maintains the Top(N)
filter on the PivotTable and any PivotCharts you may have created.

Resources