Typing modes

GridControl

Decide whether each keystroke in a cell editor goes to the server or stays in the browser until commit.

Overview

Text cell editors are TextBoxControls, and TextEditorTypingBehavior picks their transport. ServerBacked, the default, keeps the ordinary Blazor event path: the server sees the text as it is typed. ClientBuffered keeps typing in the browser and sends the completed value when the cell commits, so a slow or busy connection does not get a round trip per character. Both modes write the same value to the row on commit.

Examples

#Switch the transport, then type

Pick a transport, double-click a Full Name, Email or Phone cell, type and press Enter. The line under the grid counts the saves and names the last one. On a local connection the two modes feel the same; the difference is how many messages travel while you type.

Example
Razor
C#
PM ID Full Name Email Address Direct Phone Admin PO Limit
PM-01Marcus Vancem.vance@builder.com(512) 555-0142True$250,000
PM-02Sarah Jenkinss.jenkins@builder.com(512) 555-0189False$50,000
PM-03Robert Chenr.chen@builder.com(512) 555-0233False$75,000
PM-04Amanda Blakea.blake@builder.com(512) 555-0287True$500,000
PM-05Daniel Torresd.torres@builder.com(512) 555-0312False$60,000

ClientBuffered ยท 0 cells saved

Documentation

TextEditorTypingBehavior, the TextBoxTypingBehavior enum and TextBoxControl's own TypingBehavior are still to be written up from TextBoxTypingBehavior.cs, Grid/GridControl.razor.cs and TextBoxControl.razor.

An unhandled error has occurred. Reload ๐Ÿ—™

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.