106ddb0fd306a33feac4df812d7c9e6252a8e505
Using-the-hidden-columns-setting.md
| ... | ... | @@ -0,0 +1,11 @@ |
| 1 | +#Using Hidden Column Settings |
|
| 2 | + |
|
| 3 | +[[_TOC_]] |
|
| 4 | + |
|
| 5 | +The hidden column setting removes database fields from the report viewer and report designer dropdowns. |
|
| 6 | +Please note that you should specify the full column name with the table name and schema. Also all parts of the name should be enclosed in square brackets. So the format of the correct full column name is "[Schema].[TableName].[ColumnName]" |
|
| 7 | +In the example below we want to hide the OrderID column of the Orders table from dropdowns in Izenda: |
|
| 8 | + |
|
| 9 | +```csharp |
|
| 10 | +AdHocSettings.HiddenColumns = new string[] { "[dbo].[Orders].[OrderID]" }; |
|
| 11 | +``` |
|
| ... | ... | \ No newline at end of file |