How to hide tablix using two conditions - ssrs-2012

when I try to hide table with below expression it's not working.
=iif(Parameters!parametername.Value="ABC" and Countrows("datasetName")=0 ,false,true)
Thanks,
Praveen.

Use
Count("datasetName")=0
instead of
Countrows("datasetName")=0

Related

Remove header/filter-button columns from Telerik UI RadDataGrid

Much what the title says. When creating a RadDataGrid using TelerikUI in Xamarin.Forms, we get a "header column".
I know the style of can be set via the HeaderStyle property, and the text itself can be hidden by setting HeaderText to an empty string, but how do we actually remove the row of columns itself? Is this possible, with or without custom renderers?
We've tried setting the HeaderStyle to different attributes in hope that it'll fix it (hidden, collapsed etc), we've also tried emptying different properties/tags to try to achieve something similar to CSS's display: none but nothing has given us results as of yet. Any and all help appreciated!
Thanks.
If you want to hide the dots, you can set the Header Style:
<telerikDataGrid:DataGridTextColumn PropertyName="Country">
<telerikDataGrid:DataGridTextColumn.HeaderStyle>
<telerikDataGrid:DataGridColumnHeaderStyle OptionsButtonTextColor="Transparent"
BorderColor="#D9D9D9"
BorderThickness="1"/>
</telerikDataGrid:DataGridTextColumn.HeaderStyle>
</telerikDataGrid:DataGridTextColumn>
In addition, if you don't use any sorting or filtering, you can disable it through these properties
UserGroupMode="Disabled"
UserFilterMode="Disabled"
UserSortMode="None"

Xquery textbox disapears after typing xpath query

When I create a new custom rules on 4.4.1.
I add the xPath query to the textbox but when I save it doesn't really save as when I try to edit the rule, the xquery textbox is empty. Then after when I type it again and save, the xquery textbox disapears from the edit panel, see below screen shot.
Also, when I try to analyze my code with that custom rule enabled it doesn't catch any error.
I created a custom with the xpath query //IDENTIFIER[string-length(#tokenValue) >= 10] just to test if I could make a custom rule works
Any help would be appreciated. Thanks
Looks like you have encountered http://jira.codehaus.org/browse/SONAR-5575 and http://jira.codehaus.org/browse/SONAR-5574, they will be fixed in the upcoming 4.5.1

Hide grouped column headers?

How can grouped column headers be hidden?
What I mean is turning this:
... into this:
Documentation didn't help unfortunately.
Grouping demo
You can use destroyGroupHeader method.

How to use setColumns() in JQGrid?

Hi I wish to set the Column values for my grid using setColumns(). Now I don't know how to use the said function.
Can someone help me with this?
Thanks
-Jason
I already know how to use columnChooser. But what I want to happen is to set the grid depends on per users preference. I mean, per customer has its own default columns to be displayed that is saved in the database.
So now, once the page load per customer, the columns for that customer will be the one to be shown on the screen. So I need something that can do this when the page loads. And so far the only option is setColumn (even setcolumn is not the best option).
Do you have anything to offer?
Please help.
Thanks
The setColumn method is old and is not more supported started with jqGrid 4.0.0. You can include grid.setcolumns.js from the plugins directory to use setColumn, but I don't recommend you to use it.
You should use more powerful columnChooser method instead. I recommend you to look at the following answer which describes how to use columnChooser.

How to select last page in "Print When Expression" in iReport?

I want to print some specific details only on last page in iReport using $V{PAGE_NUMBER} and $V{PAGE_COUNT} variables. I don't want to use "Last page footer" or similar because it doesn't fit in my desired position.
When I type $V{PAGE_NUMBER}.equals($V{PAGE_COUNT}) condition in "Print When Expression", nothing happens. Any suggestions?
Also, is there any place where I can see the description of variables and other features in iReport?
Many thanks!
I found the solution. Creating new group above all groups will solve the problem. In that group footer you enter things you want to see only on last page
create a new group give it a name and then you can use print when expression

Resources