Tritium Reporting

TritiumReportViewer

แบ่งหน้ารายงานที่ผูกไว้ ซูม ค้นหา และส่งออกเป็นรูปแบบที่ผู้ใช้คาดไว้

TritiumReportViewer

คุณสมบัติหลัก

  • ผูกคำจำกัดความรายงานพร้อมแถว หรือส่งเอกสารที่ทำเสร็จแล้ว
  • รับแหล่งข้อมูล รายการอ็อบเจกต์หรือดิกชันนารี และถามพารามิเตอร์
  • ไปรายการแรก ก่อนหน้า ถัดไป และท้าย และแสดงแผนที่เอกสาร
  • ซูมให้พอดีความกว้าง พอดีหน้า หรือเปอร์เซ็นต์ตั้งแต่ 25% ถึง 400%
  • ค้นหาข้อความและเดินตามผลที่พบ
  • ส่งออก PDF, Word, Excel (xlsx และ xls), PNG, CSV, HTML, XML, MHTML, PowerPoint และ TIFF
  • เกิด PrintRequested เพื่อให้แอปแสดงส่วนติดต่อการพิมพ์ของตัวเอง
  • เกิด ActionRequested เมื่อผู้ใช้เปิดลิงก์ mailto หรือเอกสารที่ฝัง

แพลตฟอร์ม

Android, iOS, Mac Catalyst และ Windows 10 เวอร์ชัน 19041 ขึ้นไป (.NET 10 MAUI)

API หลัก

  • Report . The report definition to run.
  • Data . Rows: a report data source, or any list of objects or dictionaries.
  • Zoom . Scale from 0.25 to 4; FitWidth and FitPage set the mode instead.
  • PrintRequested . Fires with the paginated document when the user prints.

ตัวอย่างพื้นฐาน

ประกาศเนมสเปซนี้บนหน้า

xmlns:reporting="clr-namespace:Tritium.Maui.Reporting;assembly=Tritium.Maui.Reporting"
<reporting:TritiumReportViewer x:Name="Viewer"
                            Report="{Binding Report}"
                            PrintRequested="OnPrintRequested" />

เพิ่มแหล่งแพ็กเกจจากไลเซนส์ แล้วอ้างอิงแพ็กเกจที่มีคอนโทรลนี้ แพ็กเกจเหล่านี้ไม่อยู่ในแกลเลอรี NuGet สาธารณะ

เป็นส่วนหนึ่งของ Tritium Reporting มีให้ต่างหาก หรืออยู่ใน Tritium UI Complete

Ask Tritium

How-to help and product fit for FleetPro, Tritium UI, and Tritium Reporting.

Ask how to use a feature, or tell us your company, platforms, team size, and use case. Pricing and upgrades go to sales.

Product fit
Contact sales

Search the FAQ