We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Defining visible columns on a GridDataRelation?

Thread ID:

Created:

Updated:

Platform:

Replies:

103507 May 8,2012 04:35 PM UTC May 14,2012 11:07 AM UTC WPF 2
loading
Tags: GridControl
Richard Kubina
Asked On May 8, 2012 04:35 PM UTC

Is there an example of how to set the columns up for GridDataRelation?

Is there something like GridDataControl.VisibleColumns for the GridDataRelation?

Richard Kubina
Replied On May 9, 2012 12:04 PM UTC

Yes, Richard, there is:

 <syncfusion:GridDataTableProperties.VisibleColumns>


then go about your business with more :
<syncfusion:GridDataTableProperties.VisibleColumns>
 <syncfusion:GridDataVisibleColumn MappingName="Pizzasauce"/>
 <syncfusion:GridDataVisibleColumn MappingName="tImage"
                                                  HeaderText="Image">
                                <syncfusion:GridDataVisibleColumn.CellItemTemplate>
                                    <DataTemplate>
                                        <Image Source="{Binding CellBoundValue.Image}"/>
                                    </DataTemplate>
                                </syncfusion:GridDataVisibleColumn.CellItemTemplate>
                            </syncfusion:GridDataVisibleColumn>
   </syncfusion:GridDataTableProperties.VisibleColumns>

fun

Rajasekar G [Syncfusion]
Replied On May 14, 2012 11:07 AM UTC

Hi Richard,

Please find the requested sample in the below location,

Sample location: GDCRelation.zip

Please let us know if you have any queries.

Thanks,
Raja sekar.G

 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;