当前位置:网站首页>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 (VI) -- HFT high frequency trading
- (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
- 长沙“求才”:“下力气”与“出实招”并进,“快发展”和“慢生活”兼得
- [proteus simulation] Arduino uno key controls the flashing increase / decrease display of nixie tube
- 【LeetCode】143. Rearrange linked list
- 数学分析_笔记_第3章:极限
- BSC parsing input data of transaction
- 1. first knowledge of chromatic harmonica
- Development of trading system (XII) - Official quickfix document
- 微信小程序中的列表渲染
猜你喜欢
LeetCode 劍指Offer II 091 粉刷房子[動態規劃] HERODING的LeetCode之路
Crawler crawls Sina Weibo data
讲座记录《惯性导航的新应用——惯性测量》
BSC parsing input data of transaction
LeetCode 剑指Offer II 091 粉刷房子[动态规划] HERODING的LeetCode之路
代錶多樣性的彩色 NFT 系列上線 The Sandbox 市場平臺
Simple integration of client go gin 11 delete
1. Phase II of the project - user registration and login
1.初识半音阶口琴
1、项目第二阶段——用户注册和登陆
随机推荐
Crawler grabs the data of Douban group
Upgrade cmake
IntStream API介绍
La gamme NFT Color, qui représente la diversité, est en ligne sur la plate - forme du marché Sandbox
Cesium loading display thermal diagram
代錶多樣性的彩色 NFT 系列上線 The Sandbox 市場平臺
Leetcode points to the leetcode road of offering II 091 house painting [dynamic planning] heroding
Color NFT series representing diversity launched on the sandbox market platform
Siddhartha: the book of life can be regurgitated frequently
How to use crawlers to capture bullet screen and comment data of station B?
Jilin University 22 spring March new development English comprehensive course (I) assignment assessment-00080
opencv 红色区域在哪里?
navicat可不可以直接操作安卓数据库SQLite
Cesium graphic annotation circle, square, polygon, ellipse, etc
numpy np tips:使用opencv对数组插值放缩到固定形状 cv2.resize(res, dsize=(64, 64), interpolation=cv2.INTER_CUBIC)
[kubernetes series] installation and use of Helm
智慧风电:数字孪生 3D 风机智能设备运维
uniapp 制作手机app程序, 使用uni.chooseVideo录制视频,视频播放模糊分辨率低的原因
Smart wind power: operation and maintenance of digital twin 3D wind turbine intelligent equipment
Monitoring pancakeswap new token