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
85
e.Row.IsAddRow is always false
posted

Hello!

For some reason no matter which event I'm firing AfterRowActivate or AfterRowUpdate the IsAddRow is always set to false even though I'm clicking or updating the Add New Row. 

So what I have is an ultraGrid with AllowAddNew set to AllowAddNew.FixedAddRowOnBottom. In my grid I'm trying to catch when user clicks on that Add New Row to set some default values in the columns. Also I'm trying to catch when user is done updating Add New Row.  However in both of these cases e.Row.IsAddRow is set to false.  

Anyone has any idea what is going on?

 

Parents
  • 71886
    Offline posted

    Hello,

    I tried this with the 'AfterRowActivate' event and it works fine for me - e.Row.IsAddRow is True. In the other event I believe that this is expected. I attached my sample to this post for you so please review it and feel free to let me know if I misunderstood you or if you have any other questions.

    IsAddRow.zip
Reply Children
No Data