Confused about ChildViewCreated Event

Posted by: c17 on 8 September 2017, 1:22 pm EST

  • Posted 8 September 2017, 1:22 pm EST

    Hi,<br><br>I am using Win.Spread 2.5.2013.2005.  In the documentation for the ChildViewCreated Event, it says:<br><br>    "Occurs when a child view of the FarPoint Spread component is created."<br><br>Period -- no exceptions are noted.  Yet, this does not seem to be the case.  If the user clicks on the + sign, or I expand a row programmatically, the event does fire.  However, if a child view is created as a side effect of calling .GetChildView, the event does *not* seem to fire.<br><br>Is the documentation wrong, is there a bug, or am I misunderstanding something?  I should think that the event should fire regardless of HOW the child view was created.<br> <br>Thanks,<br><br>C17<br><br>
  • Replied 8 September 2017, 1:22 pm EST

    <p>c17 -</p><p>The event has never fired when using GetChildView.  I think the word 'create' in the help file is misleading.<br></p>
  • Replied 8 September 2017, 1:22 pm EST

    <p>>>The event has never fired when using GetChildView.  I think the word 'create' in the help file is misleading.<<</p><p>In that case the documentation is not merely misleading, it's flat out wrong.  I think you've got two choices:</p><p>a)  Change the documentation for <span id="pagetitle">ChildViewCreated </span>so it reflects the actual behavior, or</p><p>b)  Change the name of the event <span id="pagetitle">(ChildViewCreatedViaExpand?) </span>so it reflects the actual behavior.</p><p>In the meantime, is there some event I don't know about that fires the 1st time a child view is created -- regardless of HOW it got created?</p><p> Thanks,</p><p>C17</p><p><br> </p>
  • Replied 8 September 2017, 1:22 pm EST

    Only the ChildViewCreated which only fires when you expand the row either by clicking on the + or calling ExpandRow.  I will see if we can't give a better explanation for GetChildView.<br>
  • Replied 8 September 2017, 1:22 pm EST

    <p>Bob,</p><p>Just so I'm 100% sure I understand -- is there any event that fires when a view is created via GetChildView?</p><p>If not, please consider this an enhancement request.</p><p>Thanks for your assistance,</p><p>C17 </p>
  • Replied 8 September 2017, 1:22 pm EST

    No there is not.  I have already added it as an enhancement for you.<br>
Need extra support?

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

Learn More

Forum Channels