We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Problems in Dynamic add and remove rows in hierarchical grid

Hi, I would like to have a hierarchical or grouping grid layout with dynamic changes (add or remove rows based on the incoming information from the network). To see the possibility of using syncfusion, I added a button in one sample of hierarchical grid, which will simply add one more customer to the list. It appears the grid does not update until I try to colapse the nodes. I tried to call datagrid1.refresh() in the click event also, still not working well. Any suggestions? Thanks Chris

4 Replies

AD Administrator Syncfusion Team December 9, 2003 10:29 AM

In a hierarchical GridDataBoundGrid, you do have to open and close nodes to get updates to ''take''. This can actually be done with the drawing locked so you don''t really see the collapse and expand, but it still has to happen. A better solution would be to use the GridGroupingControl in the upcoming 2.0 release. The updates will take place without having to open and close nodes (even in a hidden manner).


AD Administrator Syncfusion Team December 9, 2003 10:31 AM

Here is a link to a forum thread with a sample for the GridDataBoundgrid. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=7027


AD Administrator Syncfusion Team December 9, 2003 12:22 PM

Thanks Clay. Is 2.0 already in release or still beta only? >Here is a link to a forum thread with a sample for the GridDataBoundgrid. > >http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=7027


AD Administrator Syncfusion Team December 9, 2003 01:32 PM

2.0 is still beta code. The final release date is unknown right now as it depends upon the beta feedback.

Loader.
Live Chat Icon For mobile
Up arrow icon