示例#1
0
        /// <summary>
        /// Updates the selection, with multi-select
        /// </summary>
        /// <param name="Indexes">Indexes.</param>
        public void UpdateSelection(int[] Indexes)
        {
            if (Indexes == null)
            {
                mSelectedRowGuids.Clear();
                return;
            }

            var rows = CurrentTable.GetRows(Indexes);

            var rowIds = from e in rows
                         select e.RowId;

            UpdateSelection(rowIds.ToArray());
        }