Пример #1
0
        protected void RowClicked(TItem row)
        {
            var KTableEvent = new KTableEvent <TItem>
            {
                Target = this,
                Row    = row
            };

            OnRowClicking.InvokeAsync(KTableEvent);

            if (IsClickToSelect)
            {
                InverTItemStatus(row);
            }

            OnRowClicked.InvokeAsync(KTableEvent);
        }
Пример #2
0
        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);
        }
Пример #3
0
        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);
        }