Simplest ExtJS Grid Example

Meets all nine qualities of quality code

Description

As the name of the example suggests, this is probably the simplest grid configuration there can be. It is written on 15 lines, excluding data, and it uses shortcuts to store, model and proxy configurations.

Upgraded in place. The example first appeared in 2014 against ExtJS 4/5 and its Ext.grid.Panel. It now runs on Ext JS 8, modern toolkit, and the listing below is the code the demo above is actually built from. Nothing was added on the way: it is the same four records, the same two columns, and the same shortcuts.

Run the example

Open this example in a new tab ↗

Main Features