Current Cell

 
ID
Ship name
Ship city
Shipped date
 
10,248
Vins et alcools Chevalier
Reims
8/16/1994
 
10,249
Toms Spezialitäten
Münster
8/10/1994
 
10,250
Hanari Carnes
Rio de Janeiro
8/12/1994
 
10,251
Victuailles en stock
Lyon
8/15/1994
 
10,252
Suprêmes délices
Charleroi
8/11/1994
 
10,253
Hanari Carnes
Rio de Janeiro
8/16/1994
 
10,254
Chop-suey Chinese
Bern
8/23/1994
 
10,255
Richter Supermarkt
Genève
8/15/1994
 
10,256
Wellington Importadora
Resende
8/17/1994
 
10,257
HILARIÓN-Abastos
San Cristóbal
8/22/1994

Current cell value: 10248

The C1GridView supports operations on the current cell. The Current cell is a data cell having focus. C1GridView highlights the current cell position, tracks it changes, and allows the retrieval of data value.

The following properties are used in this sample:

  • AllowKeyboardNavigation - to allow user to change current cell position using keyboard.
  • HighlightCurrentCell - to highlight position of the current cell.

The following client-side event handlers are used in this sample:

  • OnClientCurrentCellChanging - to track current cell position and write it into the log.
  • OnClientCurrentCellChanged - to update the currentValue element's html with the current cell data value.

If the AllowKeyboardNavigation property is set to False then end-user can change the current cell position by clicking on data cells only.