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
20
why new row is automatically added in grid
posted

hi

i have a grid and want to add new row in it. i use this below code in initilize layout event of Grid

e.Layout.Override.AllowAddNew = Infragistics.Win.UltraWinGrid.AllowAddNew.FixedAddRowOnTop;

grid have 6 columns. now problem is that when i press tab or click anywhere on grid except this new row that row is automatically added in grid. my requirement is that row must be added in grid on click of a button in that row.

is there solution from anyone

thanks

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

     Hi,

     I'm not sure what's causing that, but that is certainly not the default behavior of the grid. Something in your code must be modifying the row or causing the grid to think that the row has been modified by the user. I'm afraid I can't guess what that might be without more information, though. 

Children
No Data