O'Reilly logo

Ext.NET Web Application Development by Anup Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Selection models

The row expander examples are nice; they provide you an extra column with a small expansion icon. Other times you might want to let the user select the whole row, select many rows, or select a particular cell so that you can then perform some action on those selected rows. Ext.NET's selection models help us here.

Default row selection

In all the grid examples we have covered so far, we have not explicitly defined how a row is selected. So the default, known as the RowSelectionModel, is used. This lets you click anywhere on a row to select it. You can also enable multirow selection, so a user can select multiple rows like they would on a desktop application, using Ctrl and click, or Shift and click. So, omitting a selection model ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required