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
760
Design Of Grid Help
posted

Hello Infragistics,

 

Attached is a photo of a grid that needs to be designed for our project. I would appreciated any sample code and direction of how to get started on a grid that has the shown functionality. Please feel free to ask any questions and I look forward to hearing back from the team. Thank you for your time.

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    It would help to know what part of this you are having trouble with, and how flexible your requirements are.

    Using a GroupLayout (RowLayoutStyle), you could easily set up the grid with 4 groups and columns within those groups. The grid supports vertical column headers, to setting up the headers should be possible, but it won't look exactly like this with every line you have in your screen shot.

    Creating a second row of headers for just one of the groups ("Data") might be a bit tricky. Perhaps you could nest one group inside another.

    The expansion indicators you have here are pretty close to what the grid already does. The only big difference I see is that your first row is not indented to account for the space where the expansion indicator would be. If that's a big deal and you absolutely must have it exactly like it is in his image, then you could probably achieve this using a CreationFilter to place the ExpansionIndicator inside the cell. It's not a huge amount of work, but it's big enough that I would not recommend it unless you absolutely must have it.

     

Children