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
65
Need help.
posted

I have a grid that has several parent-child relationship. 

Is there a way in which I can disable the  AllowAddNew() on some child rows,

For example

1.

   1.1

   1.2

2.

   2.2

   ... If a certain condition is true, this row must have an allowaddnew property. This might be true to some relationship.

 

As you can see, In group 1, the AllowAddNew() property is disabled. But in 2, it may be enabled since theres a condition that it is true.

I hope you could understand what i mean. 

Thanks

 

Parents
No Data
Reply
  • 65
    posted

    Im done with this, Anyway, il change my question,

     

    but related to that somehow,

    is this possible? 

    ParentRow

        CHILDROW

    ParentRow

       TemplateAddRow() - this row has no yet values. 

     

    Thanks. 

    I cant make a parent row with only TemplateAddRow() on bottom. I causes an error. Thanks

Children