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
1336
DataRecordPresenter IsSelected style not clearing when in tab control
posted

Hi,

Please find attached a sample project demonstrating an issue with the XamDataGrid, when housed inside a tab control (or XamDockManager, I just used a tab control for simplicity in the example).

There is a single window, with a tab control inside, with two tabs.  I've put a XamDataGrid inside each tab.

I've set a specific combination of settings, to turn off edit and record selectors and set the SelectionTypeRecord to 'single'.  On the grid in the first tab only, I've set the CellClickAction to 'SelectRecord'.

Run the app, select the top record on the grid in the first tab.  Now switch to the second tab... then back to the first again.  The top record still appears to be selected, but try clicking on a different row... it now appears there are two rows selected even though SelectionTypeRecord is set to 'single'!

Snooping the app shows that only the second 'selected' record has IsSelected and IsActive set to true.... the top record has both these values set to false but is still showing in a 'selected' style.

The grid in the second tab, whose CellClickAction has been left on 'SelectCell', works as expected.

Dave

DataGridIsSelected.zip
  • 8421
    posted

    Hello Dave,

    This issue was fixed in the service release that was made available on May 14. The build for this service release is 10.1.20101.2018. I tested your sample with this version and found that the issue was resolved.

    This service release is available under your account at the Infragistics Website. To download the service release, log in to ‘My IG’ and select ‘Keys & Downloads’. Select the NetAdvantage tab and then click on the product name. The available service releases should now be listed on the page underneath the tab control.

    Please let me know if you have any further questions or concerns about this matter.