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
325
Create XamGrid by code behind ?
posted

 

Hi,

I want to set the Grid using Code behind. (no use to Grid Designer). 

Setting operations like below function.

1. Setting Column 

1.1 Set the Column Head to Multi-Lines (2~3 Level) 

1.1 Set the Column (Title/Width/Datatype/Fixed Columns)  

2. Data Binding to Grid

2.1 if i set Multi-Columns Head, How can i set Data to Grid Cells.

 

Finally, Can I set the Grid (below pic.) by Only Code Behind?

Thanks

 

  • 138253
    Verified Answer
    Offline posted

    Hello,

     

    It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post and I created a sample project for you, where I defined the layout of the XamGrid in code behind. As for the Header Layout, after some research, it has been determine as a new Product Idea.  I have sent your Product Idea directly to our product management team.  Our product team chooses new Product Ideas for development based on popular feedback from our customer base.  Infragistics continues to monitor application development for all of our products, so as trends appear in requested ideas, we can plan accordingly.

     

    We value your input, and our philosophy is to enhance our toolset based on customer feedback.  If your idea is chosen for development, you will be notified at that time.  Your reference number for this Product Idea is PI12070093

     

    If you would like to follow up on your Product Idea at a later point, you may contact Developer Support management via email.  Please include the reference number of your Product Idea in the subject and body of your email message.  You can reach Developer Support management through the following email address:  dsmanager@infragistics.com

    XamGridCodeBehind.zip