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
465
UltraWinTree.UltraTree: How to get Node above each row of childlevel
posted

I am using an UltraWinTree.UltraTree to display hierarchical data.

As shown in the attached snapshot i want the information marked in red block to be shown above each row of child level 1 .

FYI, for data in red block i have ran a loop and calculated the counts and assigned Text to that Node(child level 2). 

I want to show the same information(text) above each row of child level 1

Desktop.zip
Parents
  • 48586
    posted

    Hello Zalak,

     

    After further research you could achieve similar look  with UltraGrid and its RowLayout feature. More information about this feature you will find on the following link:

    http://help.infragistics.com/Doc/WinForms/2013.1/CLR4.0/?page=WinGrid_Row_Layouts.html

     

     You should design  your data schema at design time, then you should add unbound column which will holds your calculated values and using the RowLayout features you will be able to design and position cell layout of your first band on the desired way. Also you will need  to use InitializeRow event in order to fill the calculated value in your unbound column. I’ve implemented simple sample in order to demonstrate you this approach. Please run the sample and let me know if it is match with your requirements.

     

    Please let me know if you have nay further questions.

    135199.zip
Reply Children