public override void UpdateSelection()
{
if (this.SelectedCell.RowIndex<0 &&
this.SelectedCell.ColIndex < 0 &&
this.SelectedCell.RecordID.IsEmpty() &&
this.SelectedCell.Name.IsEmpty())
{
this.Call("clearSelections");
this.CallGrid("clearMemory");
}
else
{
string sc = new ClientConfig().Serialize(this.SelectedCell);
this.Set("selectedData", new JRawValue(sc));
this.CallGrid("doSelection");
}
}