protected void RowClicked(TItem row) { var KTableEvent = new KTableEvent <TItem> { Target = this, Row = row }; OnRowClicking.InvokeAsync(KTableEvent); if (IsClickToSelect) { InverTItemStatus(row); } OnRowClicked.InvokeAsync(KTableEvent); }
protected void RowClicked(object row) { currentActiveRow = Rows.IndexOf(row); var KTable2Event = new KTable2Event { Target = this, Row = row }; OnRowClicking.InvokeAsync(KTable2Event); if (IsClickToSelect) { InverTItemStatus(row); } OnRowClicked.InvokeAsync(KTable2Event); }
protected void HandleRowClicked(object row) { currentActiveRow = Rows.IndexOf(row); var KTable2Event = new KTable2Event { Target = this, Row = row }; OnRowClicking.InvokeAsync(KTable2Event); if (IsClickToSelect) { SetCheckState(!SelectedRows.Contains(row), row); } OnRowClicked.InvokeAsync(KTable2Event); }