HiThere is some problem by use ContextMenu in xamDataGrid,it like this
<igDP:XamDataGrid.ContextMenu> <ContextMenu x:Name="ContextMenu1" StaysOpen="true" HasDropShadow="False" Placement="RelativePoint"> <MenuItem Header="Delete" Command="{x:Static igDP:DataPresenterCommands.DeleteSelectedDataRecords}" /> </ContextMenu> </igDP:XamDataGrid.ContextMenu>
but when i click rightbutton ,the menuItem(Delete) is disenable and after i click one record ,the menuItem(Delete) is enable,how to enable the
menuItem without leftbutton choose a record,i want to use rightbutton only to Delete record but choose the record with leftbutton first,thanks!