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.
Unfortunately, activation email could not send to your email. Please try again.

Defining visible columns on a GridDataRelation?

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 08:04 AM

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 07:07 AM

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.

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.

;