Is there a way with this control to show aligned columnar data? What I need to do is create a five level tree that shows the level name and then two columns of numerical data, with each column's data right-justified in the column and the two columns are aligned with the two columns in each other node, no matter what level the node is. An example would be as such:
- Level 1 25,000 37,500
- Level 2 12,000 17,500
- Level 2 13,000 20,000
- Level 3 8,000 12,000
- Level 3 5,000 8,000
I hope this editor doesn't reformat this.
I tried putting the Level name, the correct number of spaces between the level name and the column data, then the column data, all as the text field, but as I expected, all but the first space was removed, causing the columns to not align. If there was a way to format this as an html table, that would work, but I don't see how. Also, the data is coming from a bound XML file.
Maybe this is not the control I'm supposed to use for this, but it must be a tree. I built it with the UltraWinTree very easily, using columns, but it needs to be a web app and I don't quite know how to accomplish it. Any help to this new Infragistics user would be appreciated.
Thank you so much, Lubomir. That sounds like it will do the trick. Much appreciated.
Hi there,
yes WebDataTree is not suitable to use for this use case. The control you need to use is WebHierarchicalDataGrid - it has the ability to represent hierarchical data on multiple levels as well as showing additional columns and much much more features like paging, sorting, filtering, editing and etc.
Check the online samples for WebHierarchicalDataGrid located here: http://samples.infragistics.com/2010.3/WebFeatureBrowser/Default.aspx
Thank you for using Infragistics forums!
Regards,
Lubomir
ASP.NET Team Lead