Hi there
I know I can easily bind *to* a grid's active item by setting a binding using the ActiveRecord.DataItem property. However, how can I do it the other way round? I don't see a converter as a solution: The converter does not have a context (the grid), and this context cannot be assigned through a binding property because that would lead to a circular reference (if I declare it first, the binding fails, if I declare it later, the grid does not see the converter):
<UserControl.Resources> <!-- this binding does not work - the grid has not been created yet --> <conv:ActiveGridRowConverter x:Key="rowConverter" Grid="{Binding ElementName=contactGrid, Mode=OneTime}" /></UserControl.Resources><igDP:XamDataGrid x:Name="contactGrid" DataSource="{Binding Path=ContactStore.Contacts}" ActiveRecord="{Binding Path=ActiveContact.Contact, Converter={StaticResource rowConverter}}" />
I'm not sure whether I'm just overlooking the obvious - what's the recommended solution here?
Thanks,
Philipp
Hello,
We have the same requirement. We need to set value to active record of xamDataGrid control.
I just downloaded"NetAdvantage_WPF_20092_SR_2023.msp" and installed, but I could not able to see property named "ActiveDataItem" as mentioned.
Please let me know if I am wrong, advise regarding this asap.
Regards
Shahin
This is a great improvement.
The ActiveDataItem fixed a major obstacle for me in my application.
Lucky for me, I discovered I needed such a feature yesterday. And put off trying to solve with a workaround. But last night I learned about the new service pack.
Downloaded today and voila...
Thanks for listening to user feedback, this member makes the DataGrid so much more useful.
C.O.
The file should be up now. Please attempt to download again, and let us know if you encounter issues in doing so.
That eventually forwards me to:
http://download.infragistics.com/products/NetAdvantage/WinClient/2009.2/hotfixes/WPF/CLR3X/NetAdvantage_WPF_20092_SR_2023.zip
Which results in HTTP Error 404 - File or directory not found.
Hi jrhutch -
The 9.2 October Service Release was posted earlier today at: http://es.infragistics.com/dotnet/netadvantage/wpf.aspx#Downloads
You will find the link for the 9.2 SR in the section entitled 'Service Releases' on the right hand side of the page.
The SRs for 8.2 and 9.1 can be downloaded from your 'My Keys and Downloads' page after you log into the site.
JoeM