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
|
I attach a simple repo for my issue which is that not all columns are exported. I am using the latest nightly build (v7.0.94.23321). Any ideas? Thanks, David |
|
|
Hello David Unfortunately, the two columns that are not showing up are only accessing your model via the DisplayTemplate. A template alone is not enough for the DataGrid model to determine what the actual values of the cells are. This is because the DisplayTemplate could be set up in countless ways and could very well be binding to multiple values. Fortunately this is very easy to resolve: One option would be to set the PropertyName property on the columns that are missing from the export (Detail and IsSystem). And the other option would be to set the DisplayMemberBinding property - this is consistent with your other columns, but setting the PropertyName has far better performance. Either way, this will tell the DataGrid model exactly what the values are for that column so that they can be pulled into the export. Let me know if you have further questions. -Jason Fauchelle |
|
|
Set PropertyName as suggested and everything works perfectly...thank you |
|