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
1106
Inheritance Setting
posted

This is a little confusing to me.

Bahaviours are  either found in the top level or on bands below it. Each band's behaviour set is identical or so it seem to me at least.

Now there are two sets of client events RowAdding, Deleting and Updating as well as CelEditing Events like EnteringEdit.

What I am trying to find out is what place the inheritance plays. Does this mean thall if the flag is set, that all events set at the that point override those in the child bands below OR does it mean, they are used IF the child band events are not specified. ??

I did some experimentation and the behaviour appears to be inconsistant to me, perhaps its the salt water in my viens or the headyness of working with such a complex control, does anyone have a CLEAR answer on inheritance. Meanwhile, I will go on experimenting.

Thanks

  • 1106
    Suggested Answer
    posted

    It appears that the Behaviours  such as Editing, Row Adding and Deleting can be inherited by lower levels in the bands.Howeve, contrary to my thinking the lower level events such as Cell Entring Edit does not bubble up if inherited from above.

    In other words, one catchall handler cannot be invoked through inheritence, only the basic behaviour is inherited.

    I found this confusing and a bit of process description in the help text or in a document of discussion or in the FAQ's would be helpful.

    If I am wrong here, then someone please correct me, but that is the impirical evidence I have collected through experimentation so far, Im ready to be proved wrong though.

    ;-D  Comments Welcome.