Enabled Expression with Table Not working

Stimulsoft Reports.WEB discussion
hsn
Posts: 24
Joined: Mon Jun 12, 2023 7:07 am

Enabled Expression with Table Not working

Post by hsn »

I have table I want to hide it using Enabled Expression but not working if use more than one like this "root_GrnHeader.DocumentTypeId != 11 || root_GrnHeader.DocumentTypeId != 12"
if use only one condition It hide "root_GrnHeader.DocumentTypeId != 11"
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Enabled Expression with Table Not working

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
hsn
Posts: 24
Joined: Mon Jun 12, 2023 7:07 am

Re: Enabled Expression with Table Not working

Post by hsn »

This my example

if root_GrnHeader.DocumentTypeId == 13 || root_GrnHeader.DocumentTypeId == 14

and value of root_GrnHeader.DocumentTypeId is 13

but not shown the table
Attachments
GRN.json
Data File
(1.37 KiB) Downloaded 478 times
Report.mrt
Report File
(11.61 KiB) Downloaded 487 times
hsn
Posts: 24
Joined: Mon Jun 12, 2023 7:07 am

Re: Enabled Expression with Table Not working

Post by hsn »

I also noticed if it equals it doesn't work either.

" root_GrnHeader.DocumentTypeId == 13 "
hsn
Posts: 24
Joined: Mon Jun 12, 2023 7:07 am

Re: Enabled Expression with Table Not working

Post by hsn »

hello dear,

can i get an update?
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Enabled Expression with Table Not working

Post by Lech Kulikowski »

Hello,

We have found the issue with the Table component and Enabled property. We need some additional time to investigate the issue, we will let you know about the result.

Please use the DataBand component instead of the Table.

Thank you.
hsn
Posts: 24
Joined: Mon Jun 12, 2023 7:07 am

Re: Enabled Expression with Table Not working

Post by hsn »

Lech Kulikowski wrote: Sun Aug 13, 2023 8:43 pm Hello,

We have found the issue with the Table component and Enabled property. We need some additional time to investigate the issue, we will let you know about the result.

Please use the DataBand component instead of the Table.

Thank you.
Any Update?
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Enabled Expression with Table Not working

Post by Lech Kulikowski »

Hello,

Please check the following expression for the Enabled property:
root_GrnHeader_Details.root_GrnHeader.DocumentTypeId == 13 || root_GrnHeader_Details.root_GrnHeader.DocumentTypeId == 14

Thank you.
hsn
Posts: 24
Joined: Mon Jun 12, 2023 7:07 am

Re: Enabled Expression with Table Not working

Post by hsn »

Lech Kulikowski wrote: Wed Aug 23, 2023 6:53 am Hello,

Please check the following expression for the Enabled property:
root_GrnHeader_Details.root_GrnHeader.DocumentTypeId == 13 || root_GrnHeader_Details.root_GrnHeader.DocumentTypeId == 14

Thank you.
Same Problem don't show the table.
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Enabled Expression with Table Not working

Post by Lech Kulikowski »

Hello,

Please send your modified report.

Thank you.
Attachments
Screenshot 2023-08-26 193421.png
Screenshot 2023-08-26 193421.png (154.47 KiB) Viewed 90810 times
Report_modified.mrt
(12.17 KiB) Downloaded 530 times
Post Reply