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
2715
InitializeTemplateAddRow issue
posted

Hi!

I got a little issue - i have a grid and 3 button (Edit1 , Edit2 and Save) -> when i click the button edit1 i set the grid's 

grid.DisplayLayout.Bands[0].Override.AllowAddNew = AllowAddNew.TemplateOnBottom;

and on the InitializeTemplateAddRow I set the templateAddRow's cell 1 to AllowEdit and the other cells to NoEdit.

I do my edit thing, and when i click save i set 

ulgProductQuantities.DisplayLayout.Bands[0].Override.AllowAddNew = AllowAddNew.No; Everything fine!

The problem is that if after that i click edit2, wich sould do the same thing just that for cell 2 of the templateAddRow, the event InitializeTemplateAddRow  doesn't trigger, and the empty row that appears has the cell 1 on AllowEdit. Normally, on click edit2 it should have the cell 2 on AllowEdit.

Why doesn't the InitializeTemplateAddRow event doesn't trigger the second time?

Thank you!

Parents
  • 48586
    posted

    Hi,

     

    I just wanted to know if you were able to solve your issue based on Mike's suggestions or you still need help? Just let me know.

    Thank you.

Reply Children
No Data