当前位置:网站首页>Finereport displays and hides column data according to conditions
Finereport displays and hides column data according to conditions
2022-06-25 04:18:00 【Angry devil】
scene : Just received a request , province 、 City 、 District and county level linkage drop-down options , When asked to choose a province , Data display is not processed ; When choosing a city , Need to show provincial data ; When choosing districts and counties , Need to show Province 、 Two columns of data .
that , This setting , How to implement this software through fansoft ?
In limine , Also quite confused , But , When I see this post , Inspired , therefore , Operation started .
First , Data ready , This is the premise. , then , Open sail software , Put the columns and parameters you should show , Put it in the right place :

( chart 1)
then , Determine which columns to display : Province and City .
here , We should be clear , These two columns must pass certain conditions , Display and hide , This is the basic idea .
Okay , Take a look at sail software , How to set it :
First step :
Mouse click “ Province ”, Right click ,“ Conditional properties ”, On the far right , See the following picture :

( chart 2)
Click on “+”, See the following :

( chart 3)
continue Click on “+”, Click on “ Column width ”, See the following :

( chart 4)
The second step :
Key points , Set conditions . Click on “ The formula ”, It is shown as follows :

( chart 5)
Here we are. , We need to jump back to the options above , determine province 、 City 、 District and county three options , The corresponding parameter :
$province_region_id
$region_id_temp
$district_region_id
that , Next , You have to think , What circumstance , This column shows 0 mm ( That is, it hides ).
Currently, it is a provincial column , That is, when the provincial options have data , And city , District and county options , When there is no data , Hide provincial Columns , because , My third column , What is displayed is the provincial data , therefore , Provincial column , Of course not .
therefore , On the condition that :

( chart 6)
therefore , Add conditions one by one . Input condition , Click on “+”, Can be added to the big box below , namely :

( chart 7)
here , One thing to note , Is your new condition , The relationship with the previous condition , Here you are “ And ” and “ or ” Two relationships .
After selection , The corresponding below will show and or or Relevant words .
Add good , Click blank , That's all right. , Not saved , Select in the big box , It's preservation .
Then , Municipal column , Choose , Right click ,“ Conditional properties ”,“ Adding conditions ”, Add conditions for the same province column , here , List conditions

( chart 8)
Why do you write that , I won't go into that , Understand everything .
The third step :
Look at the end result
Select Province :

( chart 9)
Choose the city :

( chart 10)
Select district and county :

( chart 11)
Implementation requirements , This is the end of the document . Actually , This thing , To put it bluntly , Is the familiarity with software , but , Sometimes it's urgent , If you can't find , eureka , But I can't get around that bend again , It's fucking !
therefore , here , Just be a guide .
边栏推荐
- Development of trading system (II) -- market data
- 2D 照片变身 3D 模型,来看英伟达的 AI 新“魔法”!
- 地方/園區產業規劃之 “ 如何進行產業定比特 ”
- 【openwrt】推荐一个国内开发的openwrt的版本,iStoreOS简介,非常好用,主要是做了一些优化。解决了汉化的问题。
- opencv怎么安装?opencv下载安装教程
- How to use crawlers to capture bullet screen and comment data of station B?
- Development of trading system (x) -- fix agreement
- Cesium drag 3D model
- web3.eth. Getpendingtransactions() returns null?
- 1280_ C language to find the average value of two unsigned integer
猜你喜欢

地方/园区产业规划之 “ 如何进行产业定位 ”

Intel 13th generation core showed its true colors for the first time: 68mb cache improved significantly

Intel 13代酷睿首次露出真面目:68MB缓存提升明显

Turn 2D photos into 3D models to see NVIDIA's new AI "magic"!
![[team learning] SQL programming language notes - task04](/img/3e/c75f5b4610c6b6700567fe75cd2339.png)
[team learning] SQL programming language notes - task04

讲座记录《多种空间大地测量技术的数据处理方法和应用》

Cesium drag 3D model

NFT insider 63: the sandbox reached a cooperation with Time magazine, and YGG established Spain's subdao

代表多样性的彩色 NFT 系列上线 The Sandbox 市场平台

《悉达多》:一生之书,可以时常反刍
随机推荐
(ultra detailed onenet TCP protocol access) arduino+esp8266-01s accesses the Internet of things platform, uploads real-time collected data /tcp transparent transmission (and how to obtain and write Lu
How much do you know about the use value of WMS warehouse management system
95% 程序员都在这里摸鱼……
General steps for QT compiling database plug-ins
1. first knowledge of chromatic harmonica
The art of writing simple code
How to install opencv? Opencv download installation tutorial
UCLA | 用于黑盒优化的生成式预训练
1、项目第二阶段——用户注册和登陆
代表多样性的彩色 NFT 系列上线 The Sandbox 市场平台
navicat可不可以直接操作安卓数据库SQLite
Zoran community
Lecture record: history and development of strapdown inertial navigation solution
文本关键词提取:ansj
Simple integration of client go gin 11 delete
Read lsd-slam: large scale direct monolithic slam
opencv是开源的吗?
[harmony OS] [arkui] ETS development graphics and animation drawing
web3.eth. Getpendingtransactions() returns null?
Crawler grabs the data of Douban group