Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 private void selshiplist_RowsSorting(object sender, GridCancelEventArgs e)
 {
     GridPanel panel = selshiplist.PrimaryGrid;
     panel.Rows.Remove(panel.Rows[0]);
 }
Exemplo n.º 3
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);
        }