![]() Not all menu items can be hidden using the View’s properties. For instance, when you disable the GridOptionsCustomization.AllowSort option, the “Sort Ascending” and “Sort Descending” items are automatically deactivated in the Column Header Menu. The properties the Views provide can affect the availability of certain items in these menus. See the Add Custom Items to Built-In Menus section for an example. Handle the GridView.PopupMenuShowing event to add custom commands to the row menu. This menu is initially empty and thus is not displayed. Row Menu (right-click a data row or group row) Split/ Remove Split command (available when Data Grid is hosted inside a GridSplitContainer) ![]() GridOptionsMenu.ShowGroupSummaryEditorItem Group Summary Editor action (hidden by default available for grouping columns) Show/Hide Footer command (hidden by default) GridOptionsMenu.ShowConditionalFormattingItem GridOptionsMenu.ShowGroupSortSummaryItemsĬonditional Formatting sub-menu (hidden by default) Sort by Summary sub-menu (available for grouping columns) ![]() GridOptionsMenu.ShowDateTimeGroupIntervalItems Group Interval sub-menu (available for date-time columns) The Data Grid’s Grid Views and Banded Grid Views have five built-in context menus.Ĭolumn Header Menu (right-click a column header) This topic does not cover in-place editors’ menu items.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |