Templating

DataFormatString - Simple Formatting

Use DataFormatString for simple formatting without templates. Supports standard .NET format strings like "C" (currency), "N2" (number with 2 decimals), "P" (percentage), and "d" (short date).

Format Examples:

  • DataFormatString="C" → Currency: $1,234.56
  • DataFormatString="N0" → Integer: 1,234
  • DataFormatString="N2" → Number: 1,234.56
  • DataFormatString="P2" → Percentage: 45.67%
  • DataFormatString="d" → Short date: 12/31/2024
  • DataFormatString="D" → Long date: Tuesday, December 31, 2024

Custom Cell Templates

Custom cell rendering using Badge for status and formatted currency for amounts. For simple formatting, consider using DataFormatString instead.

Custom Header Templates

Custom header rendering with icons for enhanced visual hierarchy.

Row Actions

Action buttons that trigger C# methods via data-action attributes. Uses Blazor components with automatic event binding.

Conditional Styling

Dynamic CSS classes applied based on data values (high-value orders in green, cancelled in red).

Reconnecting...

Attempting to rejoin the server

Connection Lost

Retrying in seconds

Connection Failed

Failed to rejoin the server.
Please retry or reload the page.

Session Paused

The session has been paused by the server

Resume Failed

Failed to resume the session.
Please reload the page.