Beispiel #1
0
        /// <summary>
        /// Dispatches appropriate events and performs row selection in the grid
        /// </summary>
        public virtual void DispatchCellSelection(CellElement cell)
        {
            foreach (var col in m_Grid.m_Columns)
            {
                col.m_HasCellSelection = false;
            }

            if (m_Grid.CellSelectionAllowed)
            {
                m_HasCellSelection = true;
                OnCellSelection(m_Grid.SelectedCell, cell);
            }

            m_Grid.DispatchCellSelection(cell);
        }