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 03:29 PM UTC

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 03:31 PM UTC

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 05:22 PM UTC

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 06:32 PM UTC

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

Loader.
Up arrow icon