开发者

ASP.net Treeview/Listview combination or alternative

开发者 https://www.devze.com 2022-12-21 01:22 出处:网络
I need to create an ASP.net page that has a control on the page that has a five-level TreeView on the left side of the page, and accounting balances on the right side the coincide with each breakdown

I need to create an ASP.net page that has a control on the page that has a five-level TreeView on the left side of the page, and accounting balances on the right side the coincide with each breakdown in the tree. Top level is company, next is group, next is program, etc... and the balanc开发者_开发百科es break down accordingly.

I've seen that there are controls out there such as TreeView/ListView combination controls that can do this. Can I accomplish this without paying for controls?

Could a treeview do this alone by spanning data across the entire length of the columns since every level will have totals on it?


If I were you and I was not paying for controls. I would use jquery and find some pre built trees and grids. A quick Google search brings up jsTree for the tree view. I would try it out. It looks like you just give it bunch of nested ul and li tags. For the right side of your page I would try out flexigrid. It looks like it could get the job done. If you happen to be using MVC I would check out the Telerik MVC controls they are free.

If I am not you and paying for controls I am using Telerik or ComponentArt. They are well worth the cost.


I simply structured the SQL, and looped through the results, creating divs of varying length to produce the result.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号