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. Image for the cookie policy date

Defining visible columns on a GridDataRelation?

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

Is there something like GridDataControl.VisibleColumns for the GridDataRelation?

2 Replies

RK Richard Kubina 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


RG Rajasekar G Syncfusion Team 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

 


Loader.
Live Chat Icon For mobile
Up arrow icon