Set Child SheetView DataSource in ChildViewCreated event

Posted by: normanroxas-aol-com on 8 September 2017, 2:37 pm EST

  • Posted 8 September 2017, 2:37 pm EST

    Hi,

    In a hierarchical view, I would like to be able to set the data source of the child sheets in the ChildViewCreated event. This way, child data will be fetched only when the expand button is clicked. Is this possible? It seems that setting the data source of the child sheets has no effect.

    Thanks. 

  • Replied 8 September 2017, 2:37 pm EST

    Hello,

    As long as you have set up relations on your bound DataSet, then a plus
    sign will show in the header rows of the parent sheet. Then, when a user
    clicks on a header, the ChildViewCreated event will fire for the sheet
    being created. Then you can populate that sheet accordingly.

    You can have a look at this post as well for the same.

    Thanks.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels