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
15
Multi-level rows on Data Grid
posted

Is there a way to support multi-level rows on the Xamarin Data Grid? We use this feature in WPF. See https://www.infragistics.com/help/winforms/wingrid-creating-multiple-row-layout-use-levels 

Parents
No Data
Reply
  • 34430
    Offline posted

    Hello Benjamin,

    At the moment, the XamDataGrid in the Infragistics for Xamarin.Forms toolset does not support multi-level rows by default, but you may be able to achieve your requirement using a TemplateColumn and defining a ContentTemplate for it that displays your data on multiple rows. If you are looking for a similar behavior with the headers, you can also define a TemplateHeader for your column’s Header property. This TemplateHeader object has a ContentTemplate that you can define to display the header however you would like.

    If you would like to see a multi-level row display like shown in the documentation article you have provided possibly implemented in the Xamarin.Forms data grid, I would recommend suggesting a new product idea for this at our Xamarin Ideas Site, here. This will place you in direct communication with our product management teams who plan and prioritize upcoming features and development based on community and user feedback.

    Please let me know if you have any other questions or concerns on this matter.

Children
No Data