Batch editing

GridControl

Let users edit a grid cell by cell, spreadsheet style, straight into your objects.

Overview

Batch editing turns a Blazor GridControl into a spreadsheet-style editor: users double-click a cell or press Enter, type, and commit with Enter or Tab. Use it for rate cards and price lists that are corrected line by line; each commit writes straight to the bound object and raises OnCellSave. Turn it on with EditSettings in EditMode.Batch, keep a column read-only with AllowEditing="false", and refuse a cell in OnCellEdit.

Examples

#Edit rate card cells in place

Double-click any cell except Code, Region or Destination, type, and press Enter to commit or Escape to abandon; the line under the grid counts saves on a 5,000-line rate card.

Code Description Region Destination Category Unit Rate Margin % Supplier
SRV-00001Day-trip bus with driverSouthern EuropeAmalfiTransportday$193.1910Amalfi Rail & Bus
SRV-00002Checked baggage, 23 kgSouthern EuropeSantoriniTransportpax$45.6410Overhead Bin Airways
SRV-00003Return flights, economyEast AsiaKyotoTransportpax$551.6512Overhead Bin Airways
SRV-00004Return flights, premium economyEast AsiaHoi AnTransportpax$1,596.7610Overhead Bin Airways
SRV-00005Airport to hotel, private carSouthern AfricaCape TownTransporttrip$84.408Cape Town Airport Transfers
SRV-00006Airport to hotel, private carNorth AfricaMarrakechTransporttrip$46.1012Marrakech Airport Transfers
SRV-00007Regional rail pass, 3 daysNorthern EuropeReykjavikTransportpax$131.2210Reykjavik Rail & Bus
SRV-00008Shared shuttleNorth AmericaVancouverTransportpax$31.7610Vancouver Airport Transfers
SRV-00009Regional rail pass, 3 daysNorth AmericaBanffTransportpax$120.0812Banff Rail & Bus
SRV-00010Regional rail pass, 3 daysOceaniaQueenstownTransportpax$151.868Queenstown Rail & Bus
SRV-00011Return flights, premium economySouth AmericaPatagoniaTransportpax$973.0210Overhead Bin Airways
SRV-00012Room upgrade, view sideSouthern EuropeLisbonAccommodationnight$94.1617Lisbon Boutique Stays
SRV-00013Double room with breakfastSouthern EuropeAmalfiAccommodationnight$187.6415Hotel Amalfi Central
SRV-00014Apartment, two bedroomsSouthern EuropeSantoriniAccommodationnight$165.0515Santorini Apartments
SRV-00015Late checkout on departure dayEast AsiaKyotoAccommodationstay$43.5015Kyoto Boutique Stays
SRV-00016Double room with breakfastEast AsiaHoi AnAccommodationnight$239.3415Hotel Hoi An Central
SRV-00017Welcome groceriesSouthern AfricaCape TownAccommodationstay$44.7015Cape Town Apartments
SRV-00018Twin room, room onlyNorth AfricaMarrakechAccommodationnight$124.7817Hotel Marrakech Central
SRV-00019Late checkout on departure dayNorthern EuropeReykjavikAccommodationstay$100.1415Reykjavik Boutique Stays
SRV-00020Apartment, two bedroomsNorth AmericaVancouverAccommodationnight$323.5613Vancouver Apartments
SRV-00021Apartment, two bedroomsNorth AmericaBanffAccommodationnight$268.9317Banff Apartments
SRV-00022Apartment, two bedroomsOceaniaQueenstownAccommodationnight$224.9915Queenstown Apartments
SRV-00023Cot and high chairSouth AmericaPatagoniaAccommodationstay$9.0015Patagonia Boutique Stays
SRV-00024Entrance ticketsSouthern EuropeLisbonExperiencespax$27.4722Lisbon Day Tours
SRV-00025Sunset boat tripSouthern EuropeAmalfiExperiencespax$55.9818Amalfi Day Tours
SRV-00026Old town walking tourSouthern EuropeSantoriniExperiencespax$35.1120Santorini Walks
SRV-00027Guided hike, half dayEast AsiaKyotoExperiencespax$60.7822Kyoto Adventures
SRV-00028Kayak rental with guideEast AsiaHoi AnExperiencespax$65.1820Hoi An Adventures
SRV-00029Guided hike, half daySouthern AfricaCape TownExperiencespax$69.0120Cape Town Adventures
SRV-00030Wine tasting with transferNorth AfricaMarrakechExperiencespax$63.8520Taste of Marrakech
SRV-00031Old town walking tourNorthern EuropeReykjavikExperiencespax$61.1420Reykjavik Walks
SRV-00032Guided hike, half dayNorth AmericaVancouverExperiencespax$52.4520Vancouver Adventures
SRV-00033Wine tasting with transferNorth AmericaBanffExperiencespax$91.8822Taste of Banff
SRV-00034Sunset boat tripOceaniaQueenstownExperiencespax$105.3220Queenstown Day Tours
SRV-00035Entrance ticketsSouth AmericaPatagoniaExperiencespax$31.9818Patagonia Day Tours
SRV-00036Travel insurance, comprehensiveSouthern EuropeLisbonServicespax$72.8014Rainy Day Travel Cover
SRV-00037Airport meet and greetSouthern EuropeAmalfiServicespax$34.3812Amalfi Guide Co-op
SRV-00038Restaurant reservationsSouthern EuropeSantoriniServicesbooking$13.3412Razor Sharp Getaways, head office
SRV-00039Airport meet and greetEast AsiaKyotoServicespax$39.0514Kyoto Guide Co-op
SRV-00040Airport meet and greetEast AsiaHoi AnServicespax$29.2710Hoi An Guide Co-op
SRV-00041Private guide, full daySouthern AfricaCape TownServicesday$291.4912Cape Town Guide Co-op
SRV-00042Private guide, full dayNorth AfricaMarrakechServicesday$311.0214Marrakech Guide Co-op
SRV-00043Restaurant reservationsNorthern EuropeReykjavikServicesbooking$17.4612Razor Sharp Getaways, head office
SRV-00044Booking feeNorth AmericaVancouverServicesbooking$65.7512Razor Sharp Getaways, head office
SRV-00045Airport meet and greetNorth AmericaBanffServicespax$53.4612Banff Guide Co-op
SRV-00046Airport meet and greetOceaniaQueenstownServicespax$48.0612Queenstown Guide Co-op
SRV-00047Private guide, full daySouth AmericaPatagoniaServicesday$167.1812Patagonia Guide Co-op
SRV-00048Return flights, economySouthern EuropeLisbonTransportpax$449.9212Overhead Bin Airways
SRV-00049Regional rail pass, 3 daysSouthern EuropeAmalfiTransportpax$163.5510Amalfi Rail & Bus
SRV-00050Shared shuttleSouthern EuropeSantoriniTransportpax$35.358Santorini Airport Transfers
SRV-00051Checked baggage, 23 kgEast AsiaKyotoTransportpax$63.1012Overhead Bin Airways
SRV-00052Day-trip bus with driverEast AsiaHoi AnTransportday$349.7310Hoi An Rail & Bus
SRV-00053Car rental, compactSouthern AfricaCape TownTransportday$33.2610Cape Town Rail & Bus
SRV-00054Airport to hotel, private carNorth AfricaMarrakechTransporttrip$45.8712Marrakech Airport Transfers
SRV-00055Shared shuttleNorthern EuropeReykjavikTransportpax$51.268Reykjavik Airport Transfers
SRV-00056Return flights, premium economyNorth AmericaVancouverTransportpax$1,263.3810Overhead Bin Airways
SRV-00057Hotel to airport, private carNorth AmericaBanffTransporttrip$89.1012Banff Airport Transfers
SRV-00058Hotel to airport, private carOceaniaQueenstownTransporttrip$126.4610Queenstown Airport Transfers
SRV-00059Checked baggage, 23 kgSouth AmericaPatagoniaTransportpax$78.2010Overhead Bin Airways
SRV-00060Twin room, room onlySouthern EuropeLisbonAccommodationnight$137.7515Hotel Lisbon Central
SRV-00061Room upgrade, view sideSouthern EuropeAmalfiAccommodationnight$41.6615Amalfi Boutique Stays
SRV-00062Twin room, room onlySouthern EuropeSantoriniAccommodationnight$211.9715Hotel Santorini Central
SRV-00063Late checkout on departure dayEast AsiaKyotoAccommodationstay$51.5517Kyoto Boutique Stays
SRV-00064Late checkout on departure dayEast AsiaHoi AnAccommodationstay$51.1315Hoi An Boutique Stays
SRV-00065Welcome groceriesSouthern AfricaCape TownAccommodationstay$34.3513Cape Town Apartments
SRV-00066Welcome groceriesNorth AfricaMarrakechAccommodationstay$39.0917Marrakech Apartments
SRV-00067Cot and high chairNorthern EuropeReykjavikAccommodationstay$18.9615Reykjavik Boutique Stays
SRV-00068Late checkout on departure dayNorth AmericaVancouverAccommodationstay$60.9415Vancouver Boutique Stays
SRV-00069Suite with breakfastNorth AmericaBanffAccommodationnight$510.4917Hotel Banff Central
SRV-00070Apartment, two bedroomsOceaniaQueenstownAccommodationnight$218.7413Queenstown Apartments
SRV-00071Cot and high chairSouth AmericaPatagoniaAccommodationstay$6.7015Patagonia Boutique Stays
SRV-00072Kayak rental with guideSouthern EuropeLisbonExperiencespax$84.6222Lisbon Adventures
SRV-00073Cooking class with market visitSouthern EuropeAmalfiExperiencespax$75.4520Taste of Amalfi
SRV-00074Wine tasting with transferSouthern EuropeSantoriniExperiencespax$72.7020Taste of Santorini
SRV-00075Old town walking tourEast AsiaKyotoExperiencespax$28.8620Kyoto Walks
SRV-00076Old town walking tourEast AsiaHoi AnExperiencespax$40.6220Hoi An Walks
SRV-00077Entrance ticketsSouthern AfricaCape TownExperiencespax$38.9720Cape Town Day Tours
SRV-00078Cooking class with market visitNorth AfricaMarrakechExperiencespax$87.1722Taste of Marrakech
SRV-00079Wine tasting with transferNorthern EuropeReykjavikExperiencespax$151.7020Taste of Reykjavik
SRV-00080Wine tasting with transferNorth AmericaVancouverExperiencespax$136.9118Taste of Vancouver
SRV-00081Kayak rental with guideNorth AmericaBanffExperiencespax$96.6322Banff Adventures
SRV-00082Evening food tourOceaniaQueenstownExperiencespax$118.3820Queenstown Walks
SRV-00083Wine tasting with transferSouth AmericaPatagoniaExperiencespax$97.1520Taste of Patagonia
SRV-00084Booking feeSouthern EuropeLisbonServicesbooking$71.6414Razor Sharp Getaways, head office
SRV-00085Airport meet and greetSouthern EuropeAmalfiServicespax$22.2610Amalfi Guide Co-op
SRV-00086Airport meet and greetSouthern EuropeSantoriniServicespax$33.8412Santorini Guide Co-op
SRV-00087Travel insurance, comprehensiveEast AsiaKyotoServicespax$89.1614Rainy Day Travel Cover
SRV-00088Airport meet and greetEast AsiaHoi AnServicespax$39.6612Hoi An Guide Co-op
SRV-00089Booking feeSouthern AfricaCape TownServicesbooking$57.1612Razor Sharp Getaways, head office
SRV-00090Airport meet and greetNorth AfricaMarrakechServicespax$27.2412Marrakech Guide Co-op
SRV-00091Airport meet and greetNorthern EuropeReykjavikServicespax$38.0312Reykjavik Guide Co-op
SRV-00092Restaurant reservationsNorth AmericaVancouverServicesbooking$21.7112Razor Sharp Getaways, head office
SRV-00093Travel insurance, comprehensiveNorth AmericaBanffServicespax$77.6614Rainy Day Travel Cover
SRV-00094Documents and deliveryOceaniaQueenstownServicesbooking$25.4612Razor Sharp Getaways, head office
SRV-00095Travel insurance, comprehensiveSouth AmericaPatagoniaServicespax$64.0410Rainy Day Travel Cover
SRV-00096Shared shuttleSouthern EuropeLisbonTransportpax$32.6612Lisbon Airport Transfers
SRV-00097Airport to hotel, private carSouthern EuropeAmalfiTransporttrip$49.9210Amalfi Airport Transfers
SRV-00098Hotel to airport, private carSouthern EuropeSantoriniTransporttrip$94.7910Santorini Airport Transfers
SRV-00099Shared shuttleEast AsiaKyotoTransportpax$39.9312Kyoto Airport Transfers
SRV-00100Airport to hotel, private carEast AsiaHoi AnTransporttrip$91.188Hoi An Airport Transfers
SRV-00101Return flights, economySouthern AfricaCape TownTransportpax$441.9710Overhead Bin Airways
SRV-00102Hotel to airport, private carNorth AfricaMarrakechTransporttrip$46.5012Marrakech Airport Transfers
SRV-00103Return flights, premium economyNorthern EuropeReykjavikTransportpax$1,832.6310Overhead Bin Airways
SRV-00104Return flights, economyNorth AmericaVancouverTransportpax$642.5510Overhead Bin Airways
SRV-00105Shared shuttleNorth AmericaBanffTransportpax$33.2310Banff Airport Transfers
SRV-00106Hotel to airport, private carOceaniaQueenstownTransporttrip$126.1610Queenstown Airport Transfers
SRV-00107Return flights, premium economySouth AmericaPatagoniaTransportpax$1,023.0510Overhead Bin Airways
SRV-00108Double room with breakfastSouthern EuropeLisbonAccommodationnight$172.9917Hotel Lisbon Central
SRV-00109Twin room, room onlySouthern EuropeAmalfiAccommodationnight$201.9715Hotel Amalfi Central
SRV-00110Twin room, room onlySouthern EuropeSantoriniAccommodationnight$212.7613Hotel Santorini Central
SRV-00111Twin room, room onlyEast AsiaKyotoAccommodationnight$198.2417Hotel Kyoto Central
SRV-00112Suite with breakfastEast AsiaHoi AnAccommodationnight$387.6415Hotel Hoi An Central
SRV-00113Double room with breakfastSouthern AfricaCape TownAccommodationnight$146.5415Hotel Cape Town Central
SRV-00114Late checkout on departure dayNorth AfricaMarrakechAccommodationstay$38.4817Marrakech Boutique Stays
SRV-00115Welcome groceriesNorthern EuropeReykjavikAccommodationstay$60.8013Reykjavik Apartments
SRV-00116Suite with breakfastNorth AmericaVancouverAccommodationnight$618.9315Hotel Vancouver Central
SRV-00117Welcome groceriesNorth AmericaBanffAccommodationstay$66.6417Banff Apartments
SRV-00118Late checkout on departure dayOceaniaQueenstownAccommodationstay$42.4015Queenstown Boutique Stays
SRV-00119Suite with breakfastSouth AmericaPatagoniaAccommodationnight$289.9115Hotel Patagonia Central
SRV-00120Guided hike, half daySouthern EuropeLisbonExperiencespax$41.2220Lisbon Adventures
SRV-00121Cooking class with market visitSouthern EuropeAmalfiExperiencespax$77.1420Taste of Amalfi
SRV-00122Full-day excursion with lunchSouthern EuropeSantoriniExperiencespax$136.1020Santorini Day Tours
SRV-00123Evening food tourEast AsiaKyotoExperiencespax$79.3122Kyoto Walks
SRV-00124Evening food tourEast AsiaHoi AnExperiencespax$153.1720Hoi An Walks
SRV-00125Old town walking tourSouthern AfricaCape TownExperiencespax$37.6418Cape Town Walks
SRV-00126Kayak rental with guideNorth AfricaMarrakechExperiencespax$87.1222Marrakech Adventures
SRV-00127Guided hike, half dayNorthern EuropeReykjavikExperiencespax$65.6020Reykjavik Adventures
SRV-00128Sunset boat tripNorth AmericaVancouverExperiencespax$140.0820Vancouver Day Tours
SRV-00129Full-day excursion with lunchNorth AmericaBanffExperiencespax$88.9622Banff Day Tours
SRV-00130Cooking class with market visitOceaniaQueenstownExperiencespax$150.9918Taste of Queenstown
SRV-00131Evening food tourSouth AmericaPatagoniaExperiencespax$65.0320Patagonia Walks
SRV-00132Private guide, full daySouthern EuropeLisbonServicesday$285.2014Lisbon Guide Co-op
SRV-00133Airport meet and greetSouthern EuropeAmalfiServicespax$41.7712Amalfi Guide Co-op
SRV-00134Travel insurance, comprehensiveSouthern EuropeSantoriniServicespax$64.4612Rainy Day Travel Cover
SRV-00135Private guide, full dayEast AsiaKyotoServicesday$245.8012Kyoto Guide Co-op
SRV-00136Documents and deliveryEast AsiaHoi AnServicesbooking$22.6312Razor Sharp Getaways, head office
SRV-00137Documents and deliverySouthern AfricaCape TownServicesbooking$15.1812Razor Sharp Getaways, head office
SRV-00138Travel insurance, comprehensiveNorth AfricaMarrakechServicespax$48.8914Rainy Day Travel Cover
SRV-00139Restaurant reservationsNorthern EuropeReykjavikServicesbooking$26.7012Razor Sharp Getaways, head office
SRV-00140Private guide, full dayNorth AmericaVancouverServicesday$381.2210Vancouver Guide Co-op
SRV-00141Restaurant reservationsNorth AmericaBanffServicesbooking$19.6614Razor Sharp Getaways, head office
SRV-00142Booking feeOceaniaQueenstownServicesbooking$60.9612Razor Sharp Getaways, head office
SRV-00143Travel insurance, comprehensiveSouth AmericaPatagoniaServicespax$67.2112Rainy Day Travel Cover
SRV-00144Return flights, premium economySouthern EuropeLisbonTransportpax$1,140.4712Overhead Bin Airways
SRV-00145Checked baggage, 23 kgSouthern EuropeAmalfiTransportpax$57.178Overhead Bin Airways
SRV-00146Shared shuttleSouthern EuropeSantoriniTransportpax$24.7510Santorini Airport Transfers
SRV-00147Hotel to airport, private carEast AsiaKyotoTransporttrip$94.9412Kyoto Airport Transfers
SRV-00148Return flights, premium economyEast AsiaHoi AnTransportpax$900.3610Overhead Bin Airways
SRV-00149Day-trip bus with driverSouthern AfricaCape TownTransportday$225.0510Cape Town Rail & Bus
SRV-00150Shared shuttleNorth AfricaMarrakechTransportpax$17.9310Marrakech Airport Transfers
SRV-00151Checked baggage, 23 kgNorthern EuropeReykjavikTransportpax$64.5210Overhead Bin Airways
SRV-00152Checked baggage, 23 kgNorth AmericaVancouverTransportpax$72.3410Overhead Bin Airways
SRV-00153Return flights, economyNorth AmericaBanffTransportpax$516.7812Overhead Bin Airways
SRV-00154Day-trip bus with driverOceaniaQueenstownTransportday$360.7410Queenstown Rail & Bus
SRV-00155Regional rail pass, 3 daysSouth AmericaPatagoniaTransportpax$168.948Patagonia Rail & Bus
SRV-00156Apartment, two bedroomsSouthern EuropeLisbonAccommodationnight$343.0517Lisbon Apartments
SRV-00157Cot and high chairSouthern EuropeAmalfiAccommodationstay$12.3315Amalfi Boutique Stays
SRV-00158Welcome groceriesSouthern EuropeSantoriniAccommodationstay$28.1215Santorini Apartments
SRV-00159Double room with breakfastEast AsiaKyotoAccommodationnight$184.8117Hotel Kyoto Central
SRV-00160Apartment, two bedroomsEast AsiaHoi AnAccommodationnight$173.0713Hoi An Apartments
SRV-00161Twin room, room onlySouthern AfricaCape TownAccommodationnight$197.5615Hotel Cape Town Central
SRV-00162Room upgrade, view sideNorth AfricaMarrakechAccommodationnight$59.2217Marrakech Boutique Stays
SRV-00163Welcome groceriesNorthern EuropeReykjavikAccommodationstay$54.6015Reykjavik Apartments
SRV-00164Room upgrade, view sideNorth AmericaVancouverAccommodationnight$66.9915Vancouver Boutique Stays
SRV-00165Suite with breakfastNorth AmericaBanffAccommodationnight$574.1415Hotel Banff Central
SRV-00166Cot and high chairOceaniaQueenstownAccommodationstay$4.1615Queenstown Boutique Stays
SRV-00167Twin room, room onlySouth AmericaPatagoniaAccommodationnight$183.7715Hotel Patagonia Central
SRV-00168Old town walking tourSouthern EuropeLisbonExperiencespax$28.6522Lisbon Walks
SRV-00169Wine tasting with transferSouthern EuropeAmalfiExperiencespax$53.1920Taste of Amalfi
SRV-00170Wine tasting with transferSouthern EuropeSantoriniExperiencespax$106.1118Taste of Santorini
SRV-00171Cooking class with market visitEast AsiaKyotoExperiencespax$113.5922Taste of Kyoto
SRV-00172Cooking class with market visitEast AsiaHoi AnExperiencespax$130.6020Taste of Hoi An
SRV-00173Cooking class with market visitSouthern AfricaCape TownExperiencespax$72.2920Taste of Cape Town
SRV-00174Entrance ticketsNorth AfricaMarrakechExperiencespax$18.9722Marrakech Day Tours
SRV-00175Guided hike, half dayNorthern EuropeReykjavikExperiencespax$86.6018Reykjavik Adventures
SRV-00176Wine tasting with transferNorth AmericaVancouverExperiencespax$145.3020Taste of Vancouver
SRV-00177Cooking class with market visitNorth AmericaBanffExperiencespax$119.4022Taste of Banff
SRV-00178Kayak rental with guideOceaniaQueenstownExperiencespax$103.5420Queenstown Adventures
SRV-00179Cooking class with market visitSouth AmericaPatagoniaExperiencespax$130.2120Taste of Patagonia
SRV-00180Airport meet and greetSouthern EuropeLisbonServicespax$25.5112Lisbon Guide Co-op
5,000 rows

0 cells saved

Documentation

ParameterTypeDefaultDescription
EditSettingsRefEditSettings?nullThe settings object below. Null leaves every cell read-only: each way into an editor first checks AllowEditing on it.
EventsRefGridControlEvents<TValue>?nullThe object that holds the callbacks below; the grid has no separate parameters for the edit events.
BatchEditBehaviorGridBatchEditBehaviorGridBatchEditBehavior.MultiRowPicks one of the two batch behaviors in the table below.
EditOnSingleClickboolfalseA plain click on an editable batch cell opens its editor at once, instead of only selecting the cell.
CellEditablePredicateFunc<TValue, string, bool>?nullPer-row veto, called with the row and the field before a cell opens and again for each row a multi-row commit fans out to. A false answer leaves that cell read-only without raising OnCellEdit.
NewItemFactoryFunc<TValue>?nullBuilds the row for AppendRow, InsertRow and the Inline or Dialog add editor. Without it the grid calls Activator.CreateInstance<TValue>().
AllowSingleCellColumnMassEditboolfalseWith SingleCell and cell selection, Ctrl or Shift can select several cells of one column, and a typed value commits to all of them.
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.