/// <summary>
        /// Handles invocation of RowsSorting events
        /// </summary>
        internal bool DoRowsSortingEvent(GridPanel panel)
        {
            if (RowsSorting != null)
            {
                GridCancelEventArgs ev = new GridCancelEventArgs(panel);

                RowsSorting(this, ev);

                return (ev.Cancel);
            }

            return (false);
        }
 private void selshiplist_RowsSorting(object sender, GridCancelEventArgs e)
 {
     GridPanel panel = selshiplist.PrimaryGrid;
     panel.Rows.Remove(panel.Rows[0]);
 }
        /// <summary>
        /// Handles invocation of FilterRowHeaderClick events
        /// </summary>
        internal bool DoFilterRowHeaderClickEvent(GridPanel gridPanel)
        {
            if (FilterRowHeaderClick != null)
            {
                GridCancelEventArgs ev = new GridCancelEventArgs(gridPanel);

                FilterRowHeaderClick(this, ev);

                return (ev.Cancel);
            }

            return (false);
        }