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
1510
How to choose which level to add in the e.Layout.AddNewBox ?
posted

Hi there!

I have a WinGrid with 3 levels

e.g.
Parent 1
     - Parent 2 ( child 1 )
              - Parent 3 ( child 2 )

and I only want the last level ( Parent 3 / child 2 ) to have the "AddNewBox"
- How would I do that ?

With this ... the user is able to addNew on every single level ...

e.Layout.AddNewBox.Hidden = false;
e.Layout.AddNewBox.Appearance.ForeColor = Color.Black;

rgd,
EE. 

Parents Reply Children