Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
8920
loaded on demand dynamic editable child grid
posted
I'm creating asp page with hierarchical grid which employs load on demand with dynamically creating ContainerGrid and binding it to typed DataSet.  Next step I need to provide editing of some cells ( not all )  on the GridCotainer with child records.  So I’m looking for the following sample/docs that would help me with the following :
Add dynamically  tool bar at the bottom of the child grid or just buttons, that would initiate post back so I can get numbers in updated cells of the child grid and do recalculation and rebinding on the post back.

Thanks.
Parents
No Data
Reply
  • 29417
    Verified Answer
    Offline posted

    Hello mcseidel ,

     

    I apologize about the delayed answer.

     

    Adding additional elements after the container grid is not supported out of the box. Making changes to the child grid however will trigger updating events like it does for the parent grid.

    So in that event you can update the data source of the grid. As for triggering a call to the server. If you have activation behavior enabled the updating will trigger on every cell value changing after you change the active cell. Otherwise if you’ve enabled batch updating any page postback will trigger the updating event.

     

    For editing of only some of the cells you’ll need to enable editing behavior for the child band (container grid you created) and set the EditingColumnSettings correspondingly with ReadOnly  to true for the columns that should not be editable and ReadOnly to false for the ones that should be editable.

    Please refer to the attached sample and let me know if you have any further questions.

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer

    Infragistics, Inc.

    http://ko.infragistics.com/support

     

     

    WHDG_LoadOnDemand.zip
Children