Suppose you have an entity Order with an attribute TotalAmount . You want to display it as currency.
To maintain clean, scalable Xplore applications:
The Format Div feature in Xplore UI offers several benefits, including: Xplore Ui Format Div
You can even generate lists, badges, or links inside the Format Div.
:
(often referred to as Xplore’s Formatted Div layout system) is a structural component within the Xplore UI library that allows developers to create responsive, content-aware containers with built-in formatting intelligence. Unlike standard <div> elements, the Format Div applies semantic formatting rules based on data type, screen size, or parent context.
By following the patterns, syntax, and best practices outlined in this guide, you can leverage the Format Div to build UIs that are not only functional but also visually intuitive and responsive to changing data. Suppose you have an entity Order with an
If your formatted output shows as raw tags ( <strong>text</strong> instead of ), you may need to enable allowHTML or trustAsHTML. Check Xplore’s version documentation for the | safe filter or a similar flag.