Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2690
Template column layout
posted

Hello

I have currently coded based on sample http://labs.infragistics.com/silverlight/lobsamples/2010.3/#/Samples/Grid/ColumnSettings/GridTemplateColumnLayout

Is it possible to have a grid in the DataTemplate?

Can I use Grid within to show the details

How would i refer to that grid

Parents
  • 40030
    Offline posted

    Hi, 

    Yes, it would be possible to put a nested xamGrid inside the TemplateColumnLayout. 

    Although you might have some performance issues as the objects in the TemplateColumnLayout are virtualized, and since we don't know about the objects in there, no state is kept. So each time you scroll one into view, it'll be re-loaded. 

    As for accessing the controls in the TemplateColumLayout. It's not really recommended, as they are virtualized/recycled. So any changes you make would potentially be displayed in another cell when it's scroll into view. 

    Is there a reason you don't want to use a normal columnLayout to display your data?

    -SteveZ

     

Reply Children