This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
am doing some basic CRUD screens for maintenance of DB tables. most are one screen per table but have got a couple where "other" table details required e.g. on the Pricing view, need to display Product details as well as pricing details am having a problem getting the correct definition in the XAML for the binding details are in attached doc |
|
|
Hi Mark, Thanks for contacting us about this. The context of the DisplayMemeberBinding of a DataGridColumn is the row model object which in your case will be a Pricing object. As such, try change the DisplayMemberBinding of the troublesome column to: {Binding GxhProduct.ProductDesc, Mode=TwoWay} and let me know if that achieves the result you want. -Jason Fauchelle |
|
|
Jason, tried that - but no joy
played around, changing some of the grid layout as well
including adding AutoGenerateColumns="False"
then tried DisplayMemberBinding="{Binding Gxh.ProductDesc, Mode=TwoWay}" then removed AutoGenerateColumns="False" failure - as it was before.... so put AutoGenerateColumns="False" back all good (picture attached) many thx for your help m |
|
|
Hi Mark, No worries, great to see the problem is solved! -Jason Fauchelle |
|