tag:blogger.com,1999:blog-7392132758872548721.post1338162051943202383..comments2023-06-02T08:20:57.259-07:00Comments on Squaredi.com: Coding, Craftsmanship, and Technology: HierarchicalCollectionView updateLength discoverydShefmanhttp://www.blogger.com/profile/13536061718008158529noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-7392132758872548721.post-88701195294791120572012-02-13T07:39:18.381-08:002012-02-13T07:39:18.381-08:00trying to be tricky with my address
dshefman [at ...trying to be tricky with my address<br /><br />dshefman [at /] squaredi [dot /] comdShefmanhttps://www.blogger.com/profile/13536061718008158529noreply@blogger.comtag:blogger.com,1999:blog-7392132758872548721.post-67047787829243095772012-02-13T07:38:37.680-08:002012-02-13T07:38:37.680-08:00Alejando. So you are using an ArrayCollection with...Alejando. So you are using an ArrayCollection with a defined children property to represent the HierarchicalData? I'm not convinced that my solution above is still your right solution. Is each field of your item a child? What does your hierarchy look like? <br /><br />if you prefer you can contact me at<br />dshefman squaredi comdShefmanhttps://www.blogger.com/profile/13536061718008158529noreply@blogger.comtag:blogger.com,1999:blog-7392132758872548721.post-48166019694183626722012-02-13T02:37:32.054-08:002012-02-13T02:37:32.054-08:00I almost forgot. I'm modifying the rowCount pr...I almost forgot. I'm modifying the rowCount property of the ADG, I need to adapt the number of rows to the number of items present in the tree. I mean, every time a node is expande or collapsed I need to add rows or remove rows. It's a requirement for me not having empty rows.Alejandro Ramirohttps://www.blogger.com/profile/03002782792070840803noreply@blogger.comtag:blogger.com,1999:blog-7392132758872548721.post-84021165108330969232012-02-13T02:33:49.286-08:002012-02-13T02:33:49.286-08:00Hi Drew,
many thanks for the advice. I'm usin...Hi Drew,<br /><br />many thanks for the advice. I'm using an ArrayCollection as a dataprovider for the tree. Every item is an object with several fields. At this point, the own component is setting the HierarchicalCollectionView. I was trying to capture this structure and convert it to your class. Is it possible to convert the ArrayCollection to your class, or even the HierarchicalCollectionView set by the component itsef?<br /><br />Many thanks for your help. I do really need this.Alejandro Ramirohttps://www.blogger.com/profile/03002782792070840803noreply@blogger.comtag:blogger.com,1999:blog-7392132758872548721.post-5993412552235231352012-02-01T07:50:55.846-08:002012-02-01T07:50:55.846-08:00Also, it only applies if you will be changing a pr...Also, it only applies if you will be changing a property, and then that property affects the number of children that that object has.dShefmanhttps://www.blogger.com/profile/13536061718008158529noreply@blogger.comtag:blogger.com,1999:blog-7392132758872548721.post-70528584265906060172012-02-01T07:49:48.867-08:002012-02-01T07:49:48.867-08:00Alejandro,
It doesn't directly apply to the ...Alejandro, <br /><br />It doesn't directly apply to the ADG, but it is related as this would be a potential dataprovider. <br /><br />The above class extends HierarchicalCollectionView, which can be a dataprovider for the AdvancedDataGrid.dShefmanhttps://www.blogger.com/profile/13536061718008158529noreply@blogger.comtag:blogger.com,1999:blog-7392132758872548721.post-10655249943637089482012-02-01T07:38:43.287-08:002012-02-01T07:38:43.287-08:00Hi Drew,
could you please explain how to use your...Hi Drew,<br /><br />could you please explain how to use your class with an AdvanceDatagrid?? <br /><br />Many thanks in advance.Alejandro Ramirohttps://www.blogger.com/profile/03002782792070840803noreply@blogger.com