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
30
igx-grid row header template
posted

Hi guys,

i have a requirement in which i need to display the headers in row format with data to be populated in its rows.

i.e. each traditional grid column is now individual row.

what would be the best way to achieve this?

Data display now:

Column1 Column2
date11 data12
data21 data22

Data display required

Column1 date11 data21
Column2 data12 data22
Parents
No Data
Reply
  • 720
    Offline posted

    Hello Shivam,

    Attached you will find a demo project where I’m using cell and header templates in order to display columns transposed into rows after I have transposed the data itself. You can learn more about custom column configurations in our official documentation. Please keep in mind that all grid features work with the underlying data and not with the template.

    Please keep in mind that transposing data is something that you should manually implement and it is not a built-in grid functionality. It can be determined to be a feature request. You can submit feature request in our GitHub repository here.

    Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case.

    This will give you the opportunity do directly communicate with our development team regarding the issue and get notifications whenever a new information is available.

    Best Regards,
    Martin Evtimov
    Entry Level Software Developer
    Infragistics, Inc.

    transposed.zip

Children