Replies: 3 comments 1 reply
|
actually i think ive found a solution : inside the same table i will make differets grid for each "layout" and than i will control the grids visibility. Now i need to just figure out how its is possible to make a if statment checking if a field is null. For some reason its not working if (row._outer["DOMAIN"] == 'X' && row._outer["INSTRUCTOR_NAME"] == null){ Any help? |
|
You can also simplify your expressions. Note that "!" means "not". So your expression is equivalent to And the right half of the && can be simplified to This is not equivalent, but probably is what you mean. For a string value As a second note, you can hide not only rows, but also columns of a grid/table by using an visibility expression. However, I don't really understand the problem you want to solve. |
|
Sounds like a Visibility expression. You may also need to add a script in one of the elements events to do the move. Without seeing the layout of what you are trying to do it's hard to say. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello once again, im making a report and im trying to make a report thats has basicaly 2 pages. And the problem starts here.
The second page the "layout" of the page is always the same but for the First one it will change like eveything (on the layout) - also im doing a page break at the moment inside of the grid (so i only have one master page) - i know that its possible to hide a field in the propertys and make a if statment that will show or not that field. But is it possible aswell that for example to make that field move like to the center of the page (example)
example : i have a grid with 2 colums - colum1 - field_a colum2-fiueld _b
if (row["fielda"] != null ){
false
}else {
true
}
--> so if field_a is filled with somenthing diferente than null it wil be show else if its equal null it will "disapear" and if it disapears will it be possible to move the field_b to the center of the layout?
also i dont think even if that was possible to be done it would be enough. to solve my problems, because i will have many diferent fields in the other layouts...
If you have any suggestions or example to help me sort this out it would be amazing.
thanks in advance
All reactions