Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1890
Setting Multiple Record Selection in Edit Mode
posted

I have a datagrid that binds IsChecked to Record.IsSelected:

IsChecked="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Record.IsSelected, Mode=TwoWay}"

It works fine when the setting CellClickAction="SelectRecord" however then the grid is editable the users' doesnt want to have to double click to edit a record so if I change the setting to EnterEditModeIfAllowed the CTRL and SHIFT functionality on the cells no longer triggers the checkbox. I tried setting Record.IsSelected to true in the CellActivated event however that didn't work for me. Is there a solution to this? I want to avoid binding IsChecked to a DataItem.

ItemsCheckedDemo.zip
  • 27093
    posted

    Hello Decius, 

    I have been looking into your requirement and since there is no such built-in functionality I have been trying for the past few days to make it behave as you wanted with some custom approaches, however nothing seems to fully work in the end as both settings are self-exclusory because of the selection functionality, which does not allow both Record, Cell, or Field selection at the same time. 

    This is why I have sent your Product Idea directly to our product management team.  Our product team chooses new Product Ideas for development based on popular feedback from our customer base.  Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly. 

    We value your input, and our philosophy is to enhance our toolset based on customer feedback.  If your feature is chosen for development, you will be notified at that time.  Your friendly ID for this Product Idea is PI12100107. 

    If you would like to follow up on your Product Idea at a later point, you may contact Developer Support management via email.  Please include the reference number of your Product Idea in the subject and body of your email message.  You can reach Developer Support management through the following email address:  dsmanager@infragistics.com

    Thank you for your request. Please let me know, if I can help with anything else.