LimeReport Forum
General Category | Основное => Discussion | Обсуждение => Topic started by: solomon78 on December 03, 2024, 01:47:01 am
-
How to disable or enable boarder line of of Text_Item dynamically base on certainin conditions, if retrieve data of Text_Item is null boarder line should not appear but if not null boarder should show. thank
-
Hi!
By using the script as the content of TextItem for example
Like this
$S{
if (your_condition)
THIS.borders=15;
"simple_text";
}
the Enum of borders is
enum BorderSide {
NoLine = 0,
TopLine = 1,
BottomLine = 2,
LeftLine = 4,
RightLine = 8,
AllLines = 15
};